Closed zhongyibill closed 5 months ago
func getMask(vip netip.Addr, mask int) net.IPMask { if mask > 0 || mask < 33 { return net.CIDRMask(mask, 32) } var ip net.IP = vip.AsSlice() return ip.DefaultMask() }
fixed by #225
func getMask(vip netip.Addr, mask int) net.IPMask { if mask > 0 || mask < 33 { return net.CIDRMask(mask, 32) } var ip net.IP = vip.AsSlice() return ip.DefaultMask() }