ソースを参照

Comment-only change to clarify routerstatus_t IPv4 byte order

teor (Tim Wilson-Brown) 8 年 前
コミット
225448ad34
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/or/or.h

+ 1 - 1
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. */