From: Rami Rosen <ramirose@gmail.com>
To: dts@dpdk.org
Cc: Rami Rosen <ramirose@gmail.com>
Subject: [dts] [PATCH] framework/packet: fix typos
Date: Fri, 18 Jan 2019 14:50:00 +0200 [thread overview]
Message-ID: <20190118125000.8340-1-ramirose@gmail.com> (raw)
Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
framework/packet.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/framework/packet.py b/framework/packet.py
index 64201f6..4d872fd 100755
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -96,7 +96,7 @@ LayersTypes = {
"PAYLOAD": ['raw']
}
-# Saved back groud sniff process id
+# Saved background sniff process id
SNIFF_PIDS = {}
# Saved packet generator process id
@@ -278,7 +278,7 @@ class scapy(object):
def ipv6(self, pkt_layer, version=6, tc=0, fl=0, plen=0, nh=0, hlim=64, src="::1", dst="::1"):
"""
- Configure IPv6 protocal.
+ Configure IPv6 protocol.
"""
pkt_layer.version = version
pkt_layer.tc = tc
@@ -763,7 +763,7 @@ def get_ether_type(eth_type=""):
def get_filter_cmd(filters=[]):
"""
- Return bpd formated filter string, only support ether layer now
+ Return bpf formated filter string, only support ether layer now
"""
filter_sep = " and "
filter_cmds = ""
@@ -844,7 +844,7 @@ def sniff_packets(intf, count=0, timeout=5, filters=[], target=[]):
param = "-P" + " in"
if len(param) == 0:
- print "tcpdump not support direction chioce!!!"
+ print "tcpdump not support direction choice!!!"
if LLDP_FILTER not in filters:
filters.append(LLDP_FILTER)
--
2.19.2
reply other threads:[~2019-01-18 12:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190118125000.8340-1-ramirose@gmail.com \
--to=ramirose@gmail.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).