diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:57 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:57 -0500 |
commit | 71e9c56578e83e95e4ce622d0733b6f9bba3e11c (patch) | |
tree | c326982644c98468fcb77dc6fcbd0da9912e5dd6 /src/app/config/config.c | |
parent | c1b5e7fa1bfb7a64c148f098c86b08f4f3167213 (diff) | |
parent | 5887c1f1f3f2c73e0750f0bf98431cba74e300bc (diff) | |
download | tor-71e9c56578e83e95e4ce622d0733b6f9bba3e11c.tar.gz tor-71e9c56578e83e95e4ce622d0733b6f9bba3e11c.zip |
Merge branch 'maint-0.4.5'
Diffstat (limited to 'src/app/config/config.c')
-rw-r--r-- | src/app/config/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index a4dbac4b49..1e4d18116c 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -6046,6 +6046,7 @@ port_parse_config(smartlist_t *out, port = (int) tor_parse_long(addrport, 10, 0, 65535, &ok, NULL); if (ok) { tor_addr_copy(&addr, &default_addr); + addr_is_explicit = false; } else if (tor_addr_port_lookup(addrport, &addr, &ptmp) == 0) { if (ptmp == 0) { log_warn(LD_CONFIG, "%sPort line has address but no port", portname); |