From bd99cd3beb4b936079c0c8c66bb88607aceae97c Mon Sep 17 00:00:00 2001 From: Phil <phil@secdev.org> Date: Thu, 21 Feb 2008 19:17:29 +0100 Subject: [PATCH] Added PPP linktype management --- scapy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scapy.py b/scapy.py index 7e53bf8f..5bc4110f 100755 --- a/scapy.py +++ b/scapy.py @@ -9384,6 +9384,7 @@ def Ether_Dot3_Dispatcher(pkt=None, **kargs): LLTypes = { ARPHDR_ETHER : Ether_Dot3_Dispatcher, ARPHDR_METRICOM : Ether_Dot3_Dispatcher, ARPHDR_LOOPBACK : Ether_Dot3_Dispatcher, + 9: PPP, 12 : IP, 101 : IP, 801 : Dot11, @@ -9399,6 +9400,7 @@ LLTypes = { ARPHDR_ETHER : Ether_Dot3_Dispatcher, } LLNumTypes = { Ether : ARPHDR_ETHER, + PPP: 9, IP : 12, IP : 101, Dot11 : 801, -- GitLab