aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-02 10:10:28 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-02 10:10:28 -0500
commitbc5ef83f8f960e9ccf0e8634301037e61d43f332 (patch)
treeee27ef0f7e998ad8e78c25ef9a82d67c9dbbbfb7 /src
parentd53f779853ee112ca152198f7695ac3b940719ae (diff)
parent707076002d4db2b8b2e6f05bea86316674bf9f45 (diff)
downloadtor-bc5ef83f8f960e9ccf0e8634301037e61d43f332.tar.gz
tor-bc5ef83f8f960e9ccf0e8634301037e61d43f332.zip
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src')
-rw-r--r--src/or/policies.c2
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;
}
}