aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-09-22 09:39:00 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-09-22 09:40:31 +0000
commit56f248aeace6c29fedf55dd1dc556cb79e3c00ae (patch)
treef2e8057be93f8fef21f32e810373a3f743d37265 /resources/libraries/python
parente35dd395bd5cf6e6f86f59095089331ab404bb76 (diff)
fix(core): IP neighboroper-rls2310-230925
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Id72bbee0f5623f82cb097a5169c60fda3584d83e (cherry picked from commit d5eb45d573f0e021c0e48ffce570b6a0e0aaf7b9)
Diffstat (limited to 'resources/libraries/python')
-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(