chore(routing): unexport IPIsPrivate as ipIsPrivate

This commit is contained in:
Quentin McGaw
2023-06-08 09:13:55 +00:00
parent 40cdb4f662
commit cade2b99bf
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ import (
"github.com/qdm12/gluetun/internal/netlink"
)
func IPIsPrivate(ip netip.Addr) bool {
func ipIsPrivate(ip netip.Addr) bool {
return ip.IsPrivate() || ip.IsLoopback() ||
ip.IsLinkLocalUnicast() || ip.IsLinkLocalMulticast()
}