mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +01:00
Add a comment about address type field to netinfo.trunnel
This commit is contained in:
parent
b64e1e602b
commit
bdf6540edf
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue