mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-10 14:22:30 +02:00
chore: use gofumpt for code formatting
This commit is contained in:
@@ -14,9 +14,7 @@ func ipIsPrivate(ip netip.Addr) bool {
|
||||
ip.IsLinkLocalUnicast() || ip.IsLinkLocalMulticast()
|
||||
}
|
||||
|
||||
var (
|
||||
errInterfaceIPNotFound = errors.New("IP address not found for interface")
|
||||
)
|
||||
var errInterfaceIPNotFound = errors.New("IP address not found for interface")
|
||||
|
||||
func ipMatchesFamily(ip netip.Addr, family int) bool {
|
||||
return (family == netlink.FamilyV4 && ip.Is4()) ||
|
||||
|
||||
Reference in New Issue
Block a user