Explorar el Código

Add a comment about address type field to netinfo.trunnel

rl1987 hace 5 años
padre
commit
bdf6540edf
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;