kamene icon indicating copy to clipboard operation
kamene copied to clipboard

IPv6 w/ hostname causes "TypeError: 'map' object is not subscriptable"

Open hmijail opened this issue 8 years ago • 2 comments

scapy-python3 (0.22), python 3.5.2

from scapy.all import *
packet = IPv6(dst="hostname")/UDP(dport=123)/Raw(bytes(100))
send(packet)

causes

TypeError: 'map' object is not subscriptable

If the IPv6 dst is a numerical address, it works OK.

hmijail avatar Nov 10 '17 13:11 hmijail

@hmijail please, comment, if the commit changed anything for you.

phaethon avatar Nov 23 '17 14:11 phaethon

Won't be able in at least a week,sorry.

On 23 Nov 2017, at 14:03, Eriks Dobelis [email protected] wrote:

@hmijail please, comment, if the commit changed anything for you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

hmijail avatar Nov 23 '17 17:11 hmijail