[V1,1/3] framework/packet: use GTPPDUSessionContainer instead of GTP_PDUSession_ExtensionHeader
diff mbox series

Message ID 1603921655-27071-2-git-send-email-lihongx.ma@intel.com
State Accepted
Headers show
  • use scapy gtp instead of local gtp
Related show

Commit Message

Ma, LihongX Oct. 28, 2020, 9:47 p.m. UTC
use the scapy module GTPPDUSessionContainer instead of local module

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

diff mbox series

diff --git a/framework/packet.py b/framework/packet.py
index 44b8e0e..dbc0058 100644
--- a/framework/packet.py
+++ b/framework/packet.py
@@ -51,7 +51,7 @@  sys.path.append(DEP_FOLDER + '/scapy_modules')
 from utils import convert_ip2int
 from utils import convert_int2ip
-scapy_modules_required = {'gtp': ['GTP_U_Header', 'GTP_PDUSession_ExtensionHeader'],
+scapy_modules_required = {'gtp': ['GTP_U_Header', 'GTPPDUSessionContainer'],
                           'lldp': ['LLDPDU', 'LLDPDUManagementAddress'], 'Dot1BR': ['Dot1BR'], 'pfcp': ['PFCP'],
                           'nsh': ['NSH'], 'igmp': ['IGMP'], 'mpls': ['MPLS'], 'sctp': ['SCTP', 'SCTPChunkData']}
 local_modules = [m[:-3] for m in os.listdir(DEP_FOLDER + '/scapy_modules') if (m.endswith('.py') and not m.startswith('__'))]