Fix compilation on Windows.

pull/2563/head
Sean Chittenden 8 years ago
parent 830125a8b3
commit 5fc97b997d
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16

@ -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

@ -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=",

Loading…
Cancel
Save