aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_linux_cp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_linux_cp.py')
-rw-r--r--test/test_linux_cp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_linux_cp.py b/test/test_linux_cp.py
index a9ff242e215..95a9f1aca1f 100644
--- a/test/test_linux_cp.py
+++ b/test/test_linux_cp.py
@@ -126,7 +126,7 @@ class TestLinuxCP(VppTestCase):
for phy, host in zip(phys, hosts):
for j in range(N_HOSTS):
p = (
- Ether(src=phy.local_mac, dst=phy.remote_hosts[j].mac)
+ Ether(src=phy.local_mac, dst=host.local_mac)
/ IP(src=phy.local_ip4, dst=phy.remote_hosts[j].ip4)
/ UDP(sport=1234, dport=1234)
/ Raw()