Control: clone 887804 -1
Control: retitle -1 python3-scapy: IPv6.summary() throws "TypeError:
inet_pton() argument 2 must be str, not map" when dst is series
Control: tags -1 + patch
Control: forwarded -1 https://github.com/phaethon/scapy/issues/233
On Fri 2018-01-19 23:51:35 -0500, Daniel Kahn G
On Fri 2018-01-19 22:26:26 -0500, Daniel Kahn Gillmor wrote:
> In python2:
>
import scapy.pton_ntop, socket
scapy.pton_ntop.inet_pton(socket.AF_INET6, '2000::')
> ' \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>
> But in python3:
>
import scapy.pton_ntop, socket
Package: python3-scapy
Version: 0.21-1
Severity: normal
In python2:
>>> import scapy.pton_ntop, socket
>>> scapy.pton_ntop.inet_pton(socket.AF_INET6, '2000::')
' \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>>>
But in python3:
>>> import scapy.pton_ntop, socket
>>> scapy.pton_n
3 matches
Mail list logo