aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-09-22 09:39:00 +0000
committerpmikus <peter.mikus@protonmail.ch>2023-09-22 09:39:00 +0000
commitd5eb45d573f0e021c0e48ffce570b6a0e0aaf7b9 (patch)
tree8d4b0be014ce89240fcbda7d07adeb3f082667b8 /resources/libraries
parent38d1d35ea7bdb653b96f0c7e1b3227cd293d8c22 (diff)
fix(core): IP neighboroper-230925
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Id72bbee0f5623f82cb097a5169c60fda3584d83e
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(