From da7fda57bf0a75df3ffca3f772744d0da050bfe8 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 4 Mar 2019 15:38:42 +0100 Subject: [PATCH] ++ --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index 7984f29..ab78600 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -171,7 +171,7 @@ class L2Controller(object): host = "h{}".format(v6route['port']) dev = "{}-eth0".format(host) net = v6route['net'] - ipaddr = "{}/{}".format(net[1],net.prefix_len) + ipaddr = "{}/{}".format(net[1],net.prefixlen) self.add_host_ips(host, str(net), str(ipaddr), dev)