From 5fc97b997d5d796e8877d27cbcc6f5df99aabbae Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Fri, 2 Dec 2016 17:04:28 +1100 Subject: [PATCH] Fix compilation on Windows. --- vendor/github.com/hashicorp/go-sockaddr/ifaddrs_windows.go | 4 ++-- vendor/vendor.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/vendor/github.com/hashicorp/go-sockaddr/ifaddrs_windows.go b/vendor/github.com/hashicorp/go-sockaddr/ifaddrs_windows.go index 63b15b21af..5eb6163bb9 100644 --- a/vendor/github.com/hashicorp/go-sockaddr/ifaddrs_windows.go +++ b/vendor/github.com/hashicorp/go-sockaddr/ifaddrs_windows.go @@ -24,7 +24,7 @@ func getDefaultIfName() (string, error) { if err != nil { return "", err } - + return ipAddr, nil } func getWindowsIPOnDefaultRoute() (string, error) { @@ -35,7 +35,7 @@ func getWindowsIPOnDefaultRoute() (string, error) { } var defaultIPAddr string - if defaultIPAddr, err = parseDefaultIfNameFromWindowsNetstatRN(string(out)); err != nil { + if defaultIPAddr, err = parseDefaultIPAddrWindowsRoute(string(out)); err != nil { return "", errors.New("No IP on default route found") } return defaultIPAddr, nil diff --git a/vendor/vendor.json b/vendor/vendor.json index 0e64f73465..b5de3543df 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -420,10 +420,10 @@ "revisionTime": "2016-09-30T03:51:02Z" }, { - "checksumSHA1": "AL5OQyjfTdgkO7XfMZ5HWTkVK9k=", + "checksumSHA1": "wGgPqc+2Lwn6qbDjM15SLKktd+Y=", "path": "github.com/hashicorp/go-sockaddr", - "revision": "a99c57b5a5f48c51607e63089075fe7434fe219a", - "revisionTime": "2016-12-02T03:16:41Z" + "revision": "3fe949359e7faa30c9dc5b4f921c7beddba1a27c", + "revisionTime": "2016-12-02T06:02:17Z" }, { "checksumSHA1": "Y+c+ahUug8/vK+cWRLatV5aB4ps=",