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 F4009A046B for ; Wed, 29 May 2019 04:35:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF8EB2C55; Wed, 29 May 2019 04:35:40 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 007F72AB for ; Wed, 29 May 2019 04:35:38 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 19:35:38 -0700 X-ExtLoop1: 1 Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 28 May 2019 19:35:38 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 May 2019 19:35:37 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 May 2019 19:35:37 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.33]) with mapi id 14.03.0415.000; Wed, 29 May 2019 10:35:35 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V1] fix NameError on latest scapy 2.4.2 Thread-Index: AQHVEVd54Z/HX75+dkyil8f8wMq6LaaBa6gA Date: Wed, 29 May 2019 02:35:35 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA86673@SHSMSX101.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: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWM4N2JmZDItM2QwNS00NWNhLWI0OWItN2NkZWUwZDJkY2I3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiZXBTRStuYytDVWh3T2lQNWV1QWM2N3lseUlOZFNRZm4xWTE0TnJkMlVLMTRZa0I5SnF4QUNOYURMUzIwVEdZVSJ9 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" Applied, thanks > -----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