diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-02 10:10:28 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-02 10:10:28 -0500 |
commit | 8a7767603a9ac826f39505fc9ea8c08385f6dfd6 (patch) | |
tree | 35913cbc8cdc0efc3707062079fe6a6227aa2a91 /src/or/policies.c | |
parent | 03b4dd92a4c359fb2f699c579ed6dbcd73981267 (diff) | |
parent | 6e5e4f92ab8f63dfaed00a3dfeab7222c3e153a3 (diff) | |
download | tor-8a7767603a9ac826f39505fc9ea8c08385f6dfd6.tar.gz tor-8a7767603a9ac826f39505fc9ea8c08385f6dfd6.zip |
Merge branch 'maint-0.2.9' into maint-0.3.0
Diffstat (limited to 'src/or/policies.c')
-rw-r--r-- | src/or/policies.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/policies.c b/src/or/policies.c index 2aa6373f3e..da5c4af6dc 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -865,6 +865,8 @@ fascist_firewall_choose_address_base(const tor_addr_t *ipv4_addr, ap->port = result->port; return 1; } else { + tor_addr_make_null(&ap->addr, AF_UNSPEC); + ap->port = 0; return 0; } } |