Skip to content

Commit fcee4f5

Browse files
eliasnaurdeadprogram
authored andcommitted
add InterfaceAddrs stub
Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 parent c134160 commit fcee4f5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

interface.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@ func Interfaces() ([]Interface, error) {
7676
return nil, errors.New("Interfaces not implemented")
7777
}
7878

79+
// InterfaceAddrs returns a list of the system's unicast interface
80+
// addresses.
81+
//
82+
// The returned list does not identify the associated interface; use
83+
// Interfaces and Interface.Addrs for more detail.
84+
func InterfaceAddrs() ([]Addr, error) {
85+
return nil, errors.New("InterfaceAddrs not implemented")
86+
}
87+
7988
// InterfaceByIndex returns the interface specified by index.
8089
//
8190
// On Solaris, it returns one of the logical network interfaces

0 commit comments

Comments
 (0)