mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-05 20:33:37 +00:00
fix netdev.Addr docstring
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user