Add a comment about address type field to netinfo.trunnel

This commit is contained in:
rl1987 2018-10-26 11:30:26 +03:00
parent b64e1e602b
commit bdf6540edf

View File

@ -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;