We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d36cba8 commit 65b7e62Copy full SHA for 65b7e62
scapy/layers/ppp.py
@@ -13,6 +13,7 @@
13
from scapy.packet import *
14
from scapy.layers.l2 import *
15
from scapy.layers.inet import *
16
+from scapy.layers.inet6 import IPv6
17
from scapy.fields import *
18
19
class PPPoE(Packet):
@@ -340,7 +341,8 @@ class PPP_ECP(Packet):
340
341
bind_layers( CookedLinux, PPPoE, proto=0x8864)
342
bind_layers( PPPoE, PPP, code=0)
343
bind_layers( HDLC, PPP, )
-bind_layers( PPP, IP, proto=33)
344
+bind_layers( PPP, IP, proto=0x0021)
345
+bind_layers( PPP, IPv6, proto=0x0057)
346
bind_layers( PPP, PPP_IPCP, proto=0x8021)
347
bind_layers( PPP, PPP_ECP, proto=0x8053)
348
bind_layers( Ether, PPP_IPCP, type=0x8021)
0 commit comments