aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-02 10:09:44 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-02 10:09:44 -0500
commit6e5e4f92ab8f63dfaed00a3dfeab7222c3e153a3 (patch)
treeff130240363dc1bbb69c1143c18f42e65dee681b /src/or
parent79a50afa0e3dd44fc5ef80806ccda501fab5a718 (diff)
parent09b9a35c07a35c0891f8cb10406c113155740d18 (diff)
downloadtor-6e5e4f92ab8f63dfaed00a3dfeab7222c3e153a3.tar.gz
tor-6e5e4f92ab8f63dfaed00a3dfeab7222c3e153a3.zip
Merge remote-tracking branch 'teor/bug24736_028' into maint-0.2.9
Diffstat (limited to 'src/or')
-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 28770bb38d..f58bf329ad 100644
--- a/src/or/policies.c
+++ b/src/or/policies.c
@@ -854,6 +854,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;
}
}