pkg/netutil: name GetDefaultInterfaces consistent

This commit is contained in:
Gyu-Ho Lee 2017-02-03 00:37:31 -08:00
parent d159353d51
commit 01a1dae7ae
No known key found for this signature in database
GPG Key ID: 1DDD39C7EB70C24C

View File

@ -27,7 +27,7 @@ func GetDefaultHost() (string, error) {
return "", fmt.Errorf("default host not supported on %s_%s", runtime.GOOS, runtime.GOARCH)
}
// GetDefaultInterface fetches the device name of default routable interface.
func GetDefaultInterface() (string, error) {
return "", fmt.Errorf("default host not supported on %s_%s", runtime.GOOS, runtime.GOARCH)
// GetDefaultInterfaces fetches the device name of default routable interface.
func GetDefaultInterfaces() (map[string]uint8, error) {
return nil, fmt.Errorf("default host not supported on %s_%s", runtime.GOOS, runtime.GOARCH)
}