aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_l2bd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_l2bd.py')
-rw-r--r--test/test_l2bd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_l2bd.py b/test/test_l2bd.py
index db831f35405..61cf4efdb2e 100644
--- a/test/test_l2bd.py
+++ b/test/test_l2bd.py
@@ -75,7 +75,7 @@ class TestL2bd(VppTestCase):
for pg_if in cls.pg_interfaces:
sw_if_index = pg_if.sub_if.sw_if_index \
if hasattr(pg_if, 'sub_if') else pg_if.sw_if_index
- cls.vapi.sw_interface_set_l2_bridge(sw_if_index,
+ cls.vapi.sw_interface_set_l2_bridge(rx_sw_if_index=sw_if_index,
bd_id=cls.bd_id)
# setup all interfaces