diff --git a/netdev.go b/netdev.go index c0c7833..04fed85 100644 --- a/netdev.go +++ b/netdev.go @@ -51,7 +51,7 @@ type netdever interface { // address in standard dot notation GetHostByName(name string) (netip.Addr, error) - // GetIPAddr returns IP address assigned to the interface, either by + // Addr returns IP address assigned to the interface, either by // DHCP or statically Addr() (netip.Addr, error)