[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add a comment about address type field to netinfo.trunnel



commit bdf6540edf5b9d3d45214393412b8fe7e42da5ca
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Fri Oct 26 11:30:26 2018 +0300

    Add a comment about address type field to netinfo.trunnel
---
 src/trunnel/netinfo.trunnel | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/trunnel/netinfo.trunnel b/src/trunnel/netinfo.trunnel
index 9c80fcc53..21afcd136 100644
--- a/src/trunnel/netinfo.trunnel
+++ b/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;
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits