From: Ido Schimmel <idosch(a)mellanox.com>
'iface' should be set to the interface's name and not its IP address.
Fixes: bfa1f380f017 ("recipes: Add recipeset for testing switchdev based
switches")
Signed-off-by: Ido Schimmel <idosch(a)mellanox.com>
Signed-off-by: Yuval Mintz <yuvalm(a)mellanox.com>
---
recipes/switchdev/TestLib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes/switchdev/TestLib.py b/recipes/switchdev/TestLib.py
index e5f3512..b6bec38 100644
--- a/recipes/switchdev/TestLib.py
+++ b/recipes/switchdev/TestLib.py
@@ -107,7 +107,7 @@ class TestLib:
"addr": if2.get_ip(1),
"count": count,
"interval": interval,
- "iface" : if1.get_ip(1),
+ "iface" : if1.get_devname(),
"limit_rate": limit_rate})
if self._ipv in [ 'ipv6', 'both' ]:
--
2.4.3