diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:50 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-12 13:13:50 -0500 |
commit | 5887c1f1f3f2c73e0750f0bf98431cba74e300bc (patch) | |
tree | 337299ae0a56dab1b3b68f0324f76cba75e209c2 /src/app | |
parent | bdca475518ca3036f1df7e78fef93bfa988cb01f (diff) | |
parent | d47e937a5074c8c9799e1d8bbd6645eea74b86ab (diff) | |
download | tor-5887c1f1f3f2c73e0750f0bf98431cba74e300bc.tar.gz tor-5887c1f1f3f2c73e0750f0bf98431cba74e300bc.zip |
Merge branch 'tor-gitlab/mr/304' into maint-0.4.5
Diffstat (limited to 'src/app')
-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 c7799ec1a2..fa74907b3d 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -6034,6 +6034,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); |