mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 23:36:18 +08:00
additional log
This commit is contained in:
parent
a06b451bd9
commit
2c93986ad0
|
@ -203,6 +203,7 @@ func addRoute(addr string, iface string) error {
|
|||
return err
|
||||
}
|
||||
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)
|
||||
}
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue