From aff342898efd85b4c19a0f01ca37f8d4dedfc2c9 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 31 Mar 2019 15:52:11 +0200 Subject: [PATCH] str(router) --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index 27308c6..86dd230 100755 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -322,7 +322,7 @@ class L2Controller(object): dev = "{}-eth0".format(host) net = v4route['net'] ipaddr = "{}/{}".format(net[1],net.prefixlen) - router = self.ipv4_router(net) + router = str(self.ipv4_router(net)) self.config_v4_host(host, str(net), str(ipaddr), dev, router)