kamene icon indicating copy to clipboard operation
kamene copied to clipboard

Cannot pass the iface option to the parse_option method of the DHCPv6_am class

Open facetothefate opened this issue 8 years ago • 0 comments

line 77 of the file scapy/scapy/ansmachine.py will delete the iface option from the kargs, because it is in the list of sniff_options_list and send_options_list.

Therefore the method of the parse_options of DHCPv6_am in the file scapy/layers/dhcp6.py will have issue to compute the source ip address see line 1360

should provide a way for the sub class of the answer machine can have access to those options

Maybe just don't delete them.

facetothefate avatar Mar 29 '16 00:03 facetothefate