Ver código fonte

Add a comment about address type field to netinfo.trunnel

rl1987 5 anos atrás
pai
commit
bdf6540edf
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      src/trunnel/netinfo.trunnel

+ 3 - 0
src/trunnel/netinfo.trunnel

@@ -1,3 +1,6 @@
+// Warning: make sure these values are consistent with RESOLVED_TYPE_*
+// constants in Tor code and numbers in Section 6.4 of tor-spec.txt.
+
 const NETINFO_ADDR_TYPE_IPV4 = 4;
 const NETINFO_ADDR_TYPE_IPV6 = 6;