Commit bdf6540e authored by rl1987's avatar rl1987
Browse files

Add a comment about address type field to netinfo.trunnel

parent b64e1e60
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
// 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;