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 | bc5ef83f8f960e9ccf0e8634301037e61d43f332 (patch) | |
tree | ee27ef0f7e998ad8e78c25ef9a82d67c9dbbbfb7 /src/or/policies.c | |
parent | d53f779853ee112ca152198f7695ac3b940719ae (diff) | |
parent | 707076002d4db2b8b2e6f05bea86316674bf9f45 (diff) | |
download | tor-bc5ef83f8f960e9ccf0e8634301037e61d43f332.tar.gz tor-bc5ef83f8f960e9ccf0e8634301037e61d43f332.zip |
Merge branch '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 a5bde2fe7a..e14b33c8e0 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -867,6 +867,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; } } |