[tor-commits] [tor/master] Comment-only change to clarify routerstatus_t IPv4 byte order
nickm at torproject.org
nickm at torproject.org
Thu May 5 12:25:44 UTC 2016
commit 225448ad34a75b6eea9ab17e306e67578ce86760
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date: Fri Apr 29 11:03:59 2016 +1000
Comment-only change to clarify routerstatus_t IPv4 byte order
---
src/or/or.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/or.h b/src/or/or.h
index 592f295..6694bb4 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. */
More information about the tor-commits
mailing list