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

This commit is contained in:
Nico Schottelius 2019-03-31 10:56:59 +02:00
parent 4ac6a49688
commit ec858ea27f
1 changed files with 0 additions and 1 deletions

View File

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