add InterfaceAddrs stub

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2023-12-26 18:15:51 -06:00
committed by Ron Evans
parent c134160ae4
commit fcee4f5c46
+9
View File
@@ -76,6 +76,15 @@ func Interfaces() ([]Interface, error) {
return nil, errors.New("Interfaces not implemented")
}
// InterfaceAddrs returns a list of the system's unicast interface
// addresses.
//
// The returned list does not identify the associated interface; use
// Interfaces and Interface.Addrs for more detail.
func InterfaceAddrs() ([]Addr, error) {
return nil, errors.New("InterfaceAddrs not implemented")
}
// InterfaceByIndex returns the interface specified by index.
//
// On Solaris, it returns one of the logical network interfaces