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 | 707076002d4db2b8b2e6f05bea86316674bf9f45 (patch) | |
tree | 2bd4560c6f7013ddb4aa039201f1a710f7b803e7 /src/or/policies.c | |
parent | 94c59851df353442ca5e56119ae4b0affa630e56 (diff) | |
parent | fb5877b9721dcc0d140c2c7c8d16d0b656bbf5d7 (diff) | |
download | tor-707076002d4db2b8b2e6f05bea86316674bf9f45.tar.gz tor-707076002d4db2b8b2e6f05bea86316674bf9f45.zip |
Merge branch 'maint-0.3.1' into maint-0.3.2
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 78451db8fc..3bfea3a57c 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; } } |