Clarify that ClientRejectInternalAddresses also rejects mDNS *.local hosts

Fixes #17070.
This commit is contained in:
J. Ryan Stinnett
2016-12-03 21:06:30 -06:00
parent 8a0ea3ee43
commit 7ffa95abd9
3 changed files with 8 additions and 2 deletions
+2 -1
View File
@@ -2100,7 +2100,8 @@ get_interface_address,(int severity, uint32_t *addr))
}
/** Return true if we can tell that <b>name</b> is a canonical name for the
* loopback address. */
* loopback address. Return true also for *.local hostnames, which are
* multicast DNS names for hosts on the local network. */
int
tor_addr_hostname_is_local(const char *name)
{