summaryrefslogtreecommitdiffstats
path: root/test/test_interface_crud.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_interface_crud.py')
-rw-r--r--test/test_interface_crud.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_interface_crud.py b/test/test_interface_crud.py
index ae30a6d47ea..4711c2f7931 100644
--- a/test/test_interface_crud.py
+++ b/test/test_interface_crud.py
@@ -85,7 +85,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
# create
loopbacks = self.create_loopback_interfaces(20)
for i in loopbacks:
- i.local_ip4_prefix_len = 32
+ i.local_ip4_prefix.len = 32
i.config_ip4()
i.admin_up()
@@ -127,7 +127,7 @@ class TestLoopbackInterfaceCRUD(VppTestCase):
# create
loopbacks = self.create_loopback_interfaces(20)
for i in loopbacks:
- i.local_ip4_prefix_len = 32
+ i.local_ip4_prefix.len = 32
i.config_ip4()
i.admin_up()