浏览代码

Add a comment about address type field to netinfo.trunnel

rl1987 6 年之前
父节点
当前提交
bdf6540edf
共有 1 个文件被更改,包括 3 次插入0 次删除
  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;