I'm using scapy in python2.6 and met an issue about the IPv6 address:
from scapy.all import *
p = IPv6(src = '1:0:0:1::1', dst = '2:0:0:2::2')
print p.src, p.dst
p.show()
it seems that scapy replaced every continuation of '0' with '::', the result of the print turned out to be:
1::1::1 2::2::2
and the p.show() part raised an exception complaining illegal syntax for IP address.
Is this a problem unsolved in scapy or are there some configuration not right in scapy? thx in advance.