diff --git a/common/net/ipnet.go b/common/net/ipnet.go index 2552a434..de97e39f 100644 --- a/common/net/ipnet.go +++ b/common/net/ipnet.go @@ -61,7 +61,7 @@ func (this *IPNet) Contains(ip net.IP) bool { originalValue := ipToUint32(ipv4) if entry, found := this.cache[originalValue]; found { - if entry == 0 { + if entry == 32 { return true } }