diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-12-07 14:44:23 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-12-07 14:46:19 +1100 |
commit | 021958934f02919eabca884f935cb27a013b4ab9 (patch) | |
tree | bdb00a3e78f87826ec27504fbc872165811943ea /src/common/address.c | |
parent | ee5337e90497e31c1ef18630c4f089e70bda5269 (diff) | |
download | tor-021958934f02919eabca884f935cb27a013b4ab9.tar.gz tor-021958934f02919eabca884f935cb27a013b4ab9.zip |
Consistently ignore multicast in internal reject private exit policies
Consistently ignore multicast addresses when automatically
generating reject private exit policies.
Closes ticket 17763. Bug fix on 10a6390deb3c9,
not in any released version of Tor. Patch by "teor".
Diffstat (limited to 'src/common/address.c')
-rw-r--r-- | src/common/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index aef229b02c..627764153b 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -1528,7 +1528,7 @@ get_interface_addresses_raw,(int severity)) } /** Return true iff <b>a</b> is a multicast address. */ -STATIC int +int tor_addr_is_multicast(const tor_addr_t *a) { sa_family_t family = tor_addr_family(a); |