vendor: Mega update all dependencies

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4080
This commit is contained in:
Jakob Borg
2017-04-05 14:34:41 +00:00
parent 49c1527724
commit a1bcc15458
1354 changed files with 55066 additions and 797850 deletions

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