From 1c04b2c40d97c6e58eefce20ec302083e8e4958c Mon Sep 17 00:00:00 2001 From: soypat Date: Sat, 2 Dec 2023 20:58:45 -0300 Subject: [PATCH] fix netdev.Addr docstring --- netdev.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)