From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5F43CA05D3 for ; Fri, 24 May 2019 03:23:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4CBE44C99; Fri, 24 May 2019 03:23:40 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CE8372B9E for ; Fri, 24 May 2019 03:23:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 May 2019 18:23:37 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 23 May 2019 18:23:37 -0700 Received: from fmsmsx161.amr.corp.intel.com (10.18.125.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 23 May 2019 18:23:38 -0700 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX161.amr.corp.intel.com (10.18.125.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 23 May 2019 18:23:37 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.70]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.126]) with mapi id 14.03.0415.000; Fri, 24 May 2019 09:23:35 +0800 From: "Li, WenjieX A" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1] fix NameError on latest scapy 2.4.2 Thread-Index: AQHVEVd5Vzm6E7jldkS+iDQKpZgm0qZ5e8mQ Date: Fri, 24 May 2019 01:23:35 +0000 Message-ID: <8688172CD5C0B74590FAE19D9579F94B536F3B2B@SHSMSX103.ccr.corp.intel.com> References: <1558609771-68480-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1558609771-68480-1-git-send-email-qimaix.xiao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] fix NameError on latest scapy 2.4.2 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Reviewed-by: Wenjie > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xiao,qimai > Sent: Thursday, May 23, 2019 7:10 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V1] fix NameError on latest scapy 2.4.2 >=20 > fix NameError: name 'ETHER_TYPES' is not defined on scapy 2.4.2 >=20 > Signed-off-by: xiao,qimai > --- > dep/Dot1BR.py | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 >=20 > class Dot1BR(Packet): > name =3D "802.1BR" > -- > 2.17.1