From 8775c93a996fd864b1747c04eebe51534425ff51 Mon Sep 17 00:00:00 2001 From: Caio Valente Date: Tue, 6 Mar 2018 20:42:32 +0100 Subject: Refactor: suppress duplicated functions from router.c and encapsulate NODE_DESC_BUF_LEN constant. Also encapsulates format_node_description(). Closes ticket 25432. --- src/or/or.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index 045cdd9e14..ecee534fee 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -2343,10 +2343,10 @@ typedef struct routerstatus_t { * If it's a descriptor, we only use the first DIGEST_LEN bytes. */ char descriptor_digest[DIGEST256_LEN]; uint32_t addr; /**< IPv4 address for this router, in host order. */ - uint16_t or_port; /**< OR port for this router. */ + uint16_t or_port; /**< IPv4 OR port for this router. */ uint16_t dir_port; /**< Directory port for this router. */ tor_addr_t ipv6_addr; /**< IPv6 address for this router. */ - uint16_t ipv6_orport; /**