summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Liu <yong.liu@intel.com>2015-07-23 19:56:05 -0400
committerMarvin Liu <yong.liu@intel.com>2015-07-24 15:05:04 +0800
commit62bae8b88afc00c46bf0a7d8ad9b539c5e6e3dae (patch)
treec31a42bc129a06e5fadf9758cc317e399ddaada5
parent4e13b530c711a7a8f0078fb7d5e8db4581e01687 (diff)
downloaddts-62bae8b88afc00c46bf0a7d8ad9b539c5e6e3dae.zip
dts-62bae8b88afc00c46bf0a7d8ad9b539c5e6e3dae.tar.gz
dts-62bae8b88afc00c46bf0a7d8ad9b539c5e6e3dae.tar.xz
fix bug that vxlan sample decap function check failure
Signed-off-by: Marvin Liu <yong.liu@intel.com>
-rw-r--r--tests/TestSuite_vxlan_sample.py2
1 files changed, 1 insertions, 1 deletions
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)