[dts] [PATCH] fix bug that vxlan sample decap function check failure
Yong Liu
yong.liu at intel.com
Fri Jul 24 09:03:01 CEST 2015
From: Marvin Liu <yong.liu at intel.com>
Signed-off-by: Marvin Liu <yong.liu at intel.com>
diff --git a/tests/TestSuite_vxlan_sample.py b/tests/TestSuite_vxlan_sample.py
index 4ede98e..17ebefe 100644
--- a/tests/TestSuite_vxlan_sample.py
+++ b/tests/TestSuite_vxlan_sample.py
@@ -291,7 +291,7 @@ class TestVxlanSample(TestCase):
'iface="%s", count=%d, timeout=5)' % (itf, count))
if pkt_dmac != "":
self.tester.scapy_append(
- 'p = sniff(filter="ether dst %s",' % pkt_smac +
+ 'p = sniff(filter="ether dst %s",' % pkt_dmac +
'iface="%s", count=%d, timeout=5)' % (itf, count))
self.tester.scapy_append(
'wrpcap(\"%s\", p)' % self.capture_file)
--
1.9.3
More information about the dts
mailing list