diff options
-rw-r--r-- | src/common/address.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index 267b4e38aa..8a0e96ddde 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -1026,7 +1026,6 @@ tor_addr_compare_masked(const tor_addr_t *addr1, const tor_addr_t *addr2, } else { a2 = tor_addr_to_ipv4h(addr2); } - if (mbits <= 0) return 0; if (mbits > 32) mbits = 32; a1 >>= (32-mbits); a2 >>= (32-mbits); |