addr: Function is_local_addr() looks at the /24 for IPv4
But the rest of tor, including its documentation (see EnforceDistinctSubnets
), looks at /16
for IPv4.
Basically, the function addrs_in_same_network_family()
hard codes the /16
validation but yet the is_local_addr()
used by the channeltls.c and dircache.c use /24
.
We ought to find out why? And probably fix that asap if this discrepancy is involuntary.