aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries')
-rw-r--r--resources/libraries/python/IPTopology.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/IPTopology.py b/resources/libraries/python/IPTopology.py
index 1e5a18042d..bc2f5f13a7 100644
--- a/resources/libraries/python/IPTopology.py
+++ b/resources/libraries/python/IPTopology.py
@@ -61,7 +61,7 @@ class IPTopology:
)
IPUtil.vpp_add_ip_neighbor(
topology[dut], dut_int2, f"2.{l}.2.1",
- topology[f"TG_pf{i}_mac"][0]
+ topology[f"TG_pf{i+1}_mac"][0]
)
IPUtil.vpp_interface_set_ip_address(