From 01a1dae7ae43a312680e6b643ac56e7ae70a4ab1 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Fri, 3 Feb 2017 00:37:31 -0800 Subject: [PATCH] pkg/netutil: name GetDefaultInterfaces consistent --- pkg/netutil/routes.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/netutil/routes.go b/pkg/netutil/routes.go index 406ade632..3eb6a19ec 100644 --- a/pkg/netutil/routes.go +++ b/pkg/netutil/routes.go @@ -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) }