From 29ff9e2333e0dc55dbf4c4e8acd45f92f9fd4ff4 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 4 Mar 2019 19:06:09 +0100 Subject: [PATCH] Correct suffix to hex --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index 6cdb209..7300bb0 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -61,7 +61,7 @@ class L2Controller(object): self.info['v4_base'] = ipaddress.ip_network("10.0.0.0/8") self.info['v4_gen'] = self.info['v4_base'].subnets(new_prefix=self.info['v4_mask']) - self.info['switch_suffix'] = 42 + self.info['switch_suffix'] = 0x42 self.v6_routes = {} self.v6_routes[None] = []