Skip to content
Snippets Groups Projects
Commit aca656d6 authored by Guillaume Valadon's avatar Guillaume Valadon
Browse files

Fixes from Pierre comments

--HG--
branch : Issue #307
parent 718dcc07
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
# scapy.contrib.description = SEND # scapy.contrib.description = SEND
# scapy.contrib.status = loads # scapy.contrib.status = loads
from scapy.all import * from scapy.packet import *
from scapy.fields import *
from scapy.layers.inet6 import icmp6typescls, _ICMPv6NDGuessPayload from scapy.layers.inet6 import icmp6typescls, _ICMPv6NDGuessPayload
send_icmp6typescls = { 11: "ICMPv6NDOptCGA", send_icmp6typescls = { 11: "ICMPv6NDOptCGA",
...@@ -70,4 +71,5 @@ class ICMPv6NDOptCGA(_ICMPv6NDGuessPayload, Packet): ...@@ -70,4 +71,5 @@ class ICMPv6NDOptCGA(_ICMPv6NDGuessPayload, Packet):
StrLenField("padding", None, length_from = lambda pkt: pkt.padlength) ] StrLenField("padding", None, length_from = lambda pkt: pkt.padlength) ]
if __name__ == "__main__": if __name__ == "__main__":
from scapy.all import *
interact(mydict=globals(), mybanner="SEND add-on") interact(mydict=globals(), mybanner="SEND add-on")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment