From a92a9b82ea9e6acfe486bc31727f2c9e58062c49 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 26 Feb 2019 15:42:56 +0100 Subject: [PATCH] [NDP] try to pass in port as integer --- p4app/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p4app/controller.py b/p4app/controller.py index c073fa5..447f50b 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -108,7 +108,7 @@ class L2Controller(object): self.controller.table_clear("ndp") for port in all_ports: - self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, port], [str(port)]) + self.controller.table_add("ndp", "multicast_pkg", [ndp_prefix, port], [port]) def init_boilerplate(self, sw_name):