summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>2016-04-29 11:03:59 +1000
committerNick Mathewson <nickm@torproject.org>2016-05-05 08:24:17 -0400
commit225448ad34a75b6eea9ab17e306e67578ce86760 (patch)
tree18823d154b58fda8075eb47e8f5da6bd76b5c5ef /src/or/or.h
parent7ec273bd4a3c82d9bddc9aef373b4f99396198c9 (diff)
downloadtor-225448ad34a75b6eea9ab17e306e67578ce86760.tar.gz
tor-225448ad34a75b6eea9ab17e306e67578ce86760.zip
Comment-only change to clarify routerstatus_t IPv4 byte order
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 592f29502e..6694bb4ece 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2215,7 +2215,7 @@ typedef struct routerstatus_t {
/** Digest of the router's most recent descriptor or microdescriptor.
* 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. */
+ uint32_t addr; /**< IPv4 address for this router, in host order. */
uint16_t or_port; /**< OR port for this router. */
uint16_t dir_port; /**< Directory port for this router. */
tor_addr_t ipv6_addr; /**< IPv6 address for this router. */