mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-06 03:46:02 +08:00
additional log
This commit is contained in:
parent
a06b451bd9
commit
2c93986ad0
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ func addRoute(addr string, iface string) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if !(strings.Contains(out, iface)) {
|
if !(strings.Contains(out, iface)) {
|
||||||
|
log.Println("DELETE ME: running command - route -q -n add -" + inetx + " " + addr + " -interface " + iface)
|
||||||
_, err = ncutils.RunCmd("route -q -n add -"+inetx+" "+addr+" -interface "+iface, true)
|
_, err = ncutils.RunCmd("route -q -n add -"+inetx+" "+addr+" -interface "+iface, true)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Reference in a new issue