2001:23:24:: has 3x16 bits set, ie /48. This was always wrong.
We need to fix this now because we are going to switch to ipaddress
from ipaddr, which actually checks this.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
s = -
-2001:23:24::/40,172.18.45.0/24
+2001:23:24::/48,172.18.45.0/24
t = 172.18.45.192/28,172.31.80.8/32
False
False
172.18.45.192/28
172.18.45.192/28
u
-2001:23:24::/40,172.18.45.0/24,172.31.80.8/32
-2001:23:24::/40,172.18.45.0/24,172.31.80.8/32
+2001:23:24::/48,172.18.45.0/24,172.31.80.8/32
+2001:23:24::/48,172.18.45.0/24,172.31.80.8/32
s=IPAddressSet()
print 's =', s
s.append([IPNetwork('172.18.45.0/24')])
-s.append([IPNetwork('2001:23:24::/40')])
+s.append([IPNetwork('2001:23:24::/48')])
print s
t=IPAddressSet(map(IPNetwork,['172.31.80.8/32','172.18.45.192/28']))