From bd49e36544cc8ee4fc1db7464cfaeeb5ec837f97 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 23 Feb 2019 18:20:07 +0100 Subject: [PATCH] [controller] remove // in ip address concat --- p4app/controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p4app/controller.py b/p4app/controller.py index 0c2b7fc..e20a4d0 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -28,7 +28,7 @@ class L2Controller(object): self.modes = ['base'] # Network / egress - self.v6_mask = "/64" + self.v6_mask = "64" self.v6_routes = {} self.v6_routes[None] = [] @@ -36,7 +36,7 @@ class L2Controller(object): self.v6_routes['base'].append({ "net": "2001:db8:61::", "port": "1"}) self.v6_routes['base'].append({ "net": "2001:db8:62::", "port": "2"}) - self.v4_mask = "/24" + self.v4_mask = "24" self.v4_routes = {} self.v4_routes[None] = [] self.v4_routes['base'] = []