diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-01-06 14:15:08 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-01-06 14:15:08 -0500 |
commit | a034863b45455a2def6d957d54bec2530db4a1a6 (patch) | |
tree | fd3ac9af55713244202a1bcb06c5f5a73bc16e40 /src/or/addressmap.c | |
parent | fcc78e5f8a3249eadfea31db1aca6884b31c1873 (diff) | |
parent | 8ef6cdc39f047a7579858a6e23629c1c2718fc0a (diff) | |
download | tor-a034863b45455a2def6d957d54bec2530db4a1a6.tar.gz tor-a034863b45455a2def6d957d54bec2530db4a1a6.zip |
Merge remote-tracking branch 'public/bug12509_025'
Diffstat (limited to 'src/or/addressmap.c')
-rw-r--r-- | src/or/addressmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/addressmap.c b/src/or/addressmap.c index 8753492b4b..8ad24323b5 100644 --- a/src/or/addressmap.c +++ b/src/or/addressmap.c @@ -230,6 +230,8 @@ addressmap_address_should_automap(const char *address, return 0; SMARTLIST_FOREACH_BEGIN(suffix_list, const char *, suffix) { + if (!strcmp(suffix, ".")) + return 1; if (!strcasecmpend(address, suffix)) return 1; } SMARTLIST_FOREACH_END(suffix); |