mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-24 22:15:36 +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
|
||||
}
|
||||
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…
Add table
Reference in a new issue