- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IpsetDel (0.08 sec)
-
cni/pkg/ipset/nldeps_linux.go
}) if err != nil { return fmt.Errorf("failed to add IP %s to ipset %s: %w", ip, name, err) } return nil } func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error { err := netlink.IpsetDel(name, &netlink.IPSetEntry{ IP: net.IP(ip.AsSlice()), Protocol: &ipProto, }) if err != nil { return fmt.Errorf("failed to delete IP %s from ipset %s: %w", ip, name, err) } return nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0)