mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-18 11:33:56 +00:00
fix netdev.Addr docstring
This commit is contained in:
@@ -51,7 +51,7 @@ type netdever interface {
|
|||||||
// address in standard dot notation
|
// address in standard dot notation
|
||||||
GetHostByName(name string) (netip.Addr, error)
|
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
|
// DHCP or statically
|
||||||
Addr() (netip.Addr, error)
|
Addr() (netip.Addr, error)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user