aboutsummaryrefslogtreecommitdiff
path: root/src/common/address.c
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2016-12-03 21:06:30 -0600
committerJ. Ryan Stinnett <jryans@gmail.com>2016-12-03 21:10:40 -0600
commit7ffa95abd935fd6ac10abd96e8a8d14aa9035caf (patch)
treefc34b4690a1eb4a7ca08dabf5364c6e1819f4e16 /src/common/address.c
parent8a0ea3ee43da0063c2546092662fa7ce4900bc2c (diff)
downloadtor-7ffa95abd935fd6ac10abd96e8a8d14aa9035caf.tar.gz
tor-7ffa95abd935fd6ac10abd96e8a8d14aa9035caf.zip
Clarify that ClientRejectInternalAddresses also rejects mDNS *.local hosts
Fixes #17070.
Diffstat (limited to 'src/common/address.c')
-rw-r--r--src/common/address.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c
index 773e688554..fa6630ef92 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -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)
{