Cannot iterate over IPv6 address in ipcalc.Network()
twinshadow opened this issue · 1 comments
twinshadow commented
import ipcalc foo = ipcalc.Network('fd00:dead:ca7:cafe::1/64') foo.__iter__().next() Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.7/site-packages/ipcalc.py", line 544, in __iter__ for ip in (IP(long(self)+x) for x in xrange(0, self.size())): OverflowError: Python int too large to convert to C long
gandaro commented
Fixing commits have been merged.