func nodeToIPNet(node *bitradix.Radix32) *net.IPNet { ip := uintToIP(node.Key()) ipnet := net.IPNet{IP: ip, Mask: net.CIDRMask(node.Bits(), 32)} return &ipnet }