Browse Source

Default delete not necessary: 0x42 -> 66 is our host

master
Nico Schottelius 3 years ago
parent
commit
ec858ea27f
  1. 1
      p4app/controller.py

1
p4app/controller.py

@ -330,7 +330,6 @@ class L2Controller(object):
log.debug("Config v4 host: {} {}->{} on {} via {}".format(host, net, ipaddr, dev, router))
subprocess.call(["mx", host, "ip", "addr", "flush", "dev", dev])
subprocess.call(["mx", host, "ip", "route", "del", "default"])
subprocess.call(["mx", host, "ip", "addr", "add", ipaddr, "dev", dev])
if router:

Loading…
Cancel
Save