Change NAT64 prefix in test.py

This commit is contained in:
Nico Schottelius 2019-03-25 12:18:15 +01:00
parent 0ad6fa9a36
commit ccf7e15241

View file

@ -27,7 +27,7 @@ class TestStuff(object):
def test_v6_static_mapping(self): def test_v6_static_mapping(self):
host = "h1" host = "h1"
nat64_prefix = ipaddress.ip_network("64:ff9b::/96") nat64_prefix = ipaddress.ip_network("2001:db8:1::/96")
dst_ipv4 = ipaddress.ip_address("10.0.0.1") dst_ipv4 = ipaddress.ip_address("10.0.0.1")
translated_ipv4 = nat64_prefix[int(dst_ipv4)] translated_ipv4 = nat64_prefix[int(dst_ipv4)]