From: "xiao,qimai" <qimaix.xiao@intel.com>
To: dts@dpdk.org
Cc: "xiao,qimai" <qimaix.xiao@intel.com>
Subject: [dts] [PATCH V1] fix NameError on latest scapy 2.4.2
Date: Thu, 23 May 2019 19:09:31 +0800 [thread overview]
Message-ID: <1558609771-68480-1-git-send-email-qimaix.xiao@intel.com> (raw)
fix NameError: name 'ETHER_TYPES' is not defined on scapy 2.4.2
Signed-off-by: xiao,qimai <qimaix.xiao@intel.com>
---
dep/Dot1BR.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/dep/Dot1BR.py b/dep/Dot1BR.py
index f985f6a..114c19a 100644
--- a/dep/Dot1BR.py
+++ b/dep/Dot1BR.py
@@ -13,6 +13,7 @@ VBPE (virtual brige port extenstion)
from scapy.packet import *
from scapy.fields import *
from scapy.layers.l2 import Ether
+from scapy.data import ETHER_TYPES
class Dot1BR(Packet):
name = "802.1BR"
--
2.17.1
next reply other threads:[~2019-05-23 11:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-23 11:09 xiao,qimai [this message]
2019-05-24 1:22 ` Li, WenjieX A
2019-05-24 1:23 ` Li, WenjieX A
2019-05-29 2:35 ` Tu, Lijuan
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=1558609771-68480-1-git-send-email-qimaix.xiao@intel.com \
--to=qimaix.xiao@intel.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).