[dts] [PATCH V1] fix misspelling
Chen, BoX C
box.c.chen at intel.com
Sat Feb 22 11:29:06 CET 2020
Tested-by: Chen Bo < box.c.chen at intel.com>
Regards,
Chen Bo
-----Original Message-----
From: Chen, BoX C <box.c.chen at intel.com>
Sent: 2020年2月22日 18:26
To: dts at dpdk.org
Cc: Chen, BoX C <box.c.chen at intel.com>
Subject: [dts][PATCH V1] fix misspelling
Fix the spelling error of the word in the packet module.
Signed-off-by: Chen,Bo <box.c.chen at intel.com>
---
framework/packet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/framework/packet.py b/framework/packet.py index 085acbc..381490e 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -656,7 +656,7 @@ class Packet(object):
pcap_file = 'scapy_{}.pcap'.format(tx_port) + time_stamp
self.save_pcapfile(crb, pcap_file)
scapy_cmd = 'scapy_{}.cmd'.format(tx_port) + time_stamp
- cmd_str = 'from scapy.all import *\np=rdpcap("%s")\nprint("packet ready for sending...")\nfor i in p:\n\tprint(i.command())\nsendp(p, iface="%s", count=%d, loop=%d, inter=%0.3f, verboase=False)' % (
+ cmd_str = 'from scapy.all import
+ *\np=rdpcap("%s")\nprint("packet ready for sending...")\nfor i in
+ p:\n\tprint(i.command())\nsendp(p, iface="%s", count=%d, loop=%d,
+ inter=%0.3f, verbose=False)' % (
crb.tmp_file + pcap_file, tx_port, count, loop, inter)
# write send cmd file to local tmp directory then copy to remote tester tmp folder
with open(TMP_PATH + scapy_cmd, 'w') as f:
--
2.17.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestVxlan.log
Type: application/octet-stream
Size: 528364 bytes
Desc: TestVxlan.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200222/e64bad2d/attachment.obj>
More information about the dts
mailing list