additional log

This commit is contained in:
afeiszli 2022-02-21 19:59:24 -05:00
parent a06b451bd9
commit 2c93986ad0

View file

@ -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