chore(all): use netip.Prefix for ip networks
- remove usage of `net.IPNet` - remove usage of `netaddr.IPPrefix`
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package netlink
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/vishvananda/netlink"
|
||||
)
|
||||
|
||||
func NewIPNet(ip net.IP) *net.IPNet {
|
||||
return netlink.NewIPNet(ip)
|
||||
}
|
||||
Reference in New Issue
Block a user