From ec858ea27f9996e6ad0dcded24b4b3af1d508388 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 31 Mar 2019 10:56:59 +0200 Subject: [PATCH] Default delete not necessary: 0x42 -> 66 is our host --- p4app/controller.py | 1 - 1 file changed, 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index 296781f..6c11104 100755 --- a/p4app/controller.py +++ b/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: