[V1] framework/packet: correct the contrib name

Message ID 1600640331-23969-1-git-send-email-lihongx.ma@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] framework/packet: correct the contrib name |

Commit Message

Ma, LihongX Sept. 20, 2020, 10:18 p.m. UTC
  correct the scapy contrib file name

Signed-off-by: LihongX Ma <lihongx.ma@intel.com>
---
 framework/packet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Ma, LihongX Sept. 22, 2020, 8:14 a.m. UTC | #1
Tested-by: lihongx Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: Ma, LihongX <lihongx.ma@intel.com>
> Sent: Monday, September 21, 2020 6:19 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts][PATCH V1] framework/packet: correct the contrib name
> 
> correct the scapy contrib file name
>
  
Tu, Lijuan Sept. 23, 2020, 9 a.m. UTC | #2
> Subject: [dts] [PATCH V1] framework/packet: correct the contrib name
> 
> correct the scapy contrib file name
> 
> Signed-off-by: LihongX Ma <lihongx.ma@intel.com>

Applied
  

Patch

diff --git a/framework/packet.py b/framework/packet.py
index 6a306cb..a7cd172 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -78,7 +78,7 @@  def get_scapy_module_impcmd():
         if m in local_modules:
             cmd_li.append(f'from {m} import {",".join(scapy_modules_required[m])}')
         else:
-            cmd_li.append(f'from scapy.contirb.{m} import {",".join(scapy_modules_required[m])}')
+            cmd_li.append(f'from scapy.contrib.{m} import {",".join(scapy_modules_required[m])}')
     return ';'.join(cmd_li)
 
 SCAPY_IMP_CMD = get_scapy_module_impcmd()