vendor: Mega update all dependencies

This commit is contained in:
Jakob Borg
2017-04-05 16:21:57 +02:00
parent 49c1527724
commit 36b8833441
1358 changed files with 55045 additions and 798287 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ func DiscoverGateway() (ip net.IP, err error) {
}
func discoverGatewayUsingIp() (net.IP, error) {
routeCmd := exec.Command("/usr/bin/ip", "route", "show")
routeCmd := exec.Command("ip", "route", "show")
output, err := routeCmd.CombinedOutput()
if err != nil {
return nil, err
@@ -24,7 +24,7 @@ func discoverGatewayUsingIp() (net.IP, error) {
}
func discoverGatewayUsingRoute() (net.IP, error) {
routeCmd := exec.Command("/usr/bin/route", "-n")
routeCmd := exec.Command("route", "-n")
output, err := routeCmd.CombinedOutput()
if err != nil {
return nil, err