Browse Source

Change NAT64 prefix in test.py

master
Nico Schottelius 4 years ago
parent
commit
ccf7e15241
  1. 2
      p4app/test.py

2
p4app/test.py

@ -27,7 +27,7 @@ class TestStuff(object):
def test_v6_static_mapping(self):
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")
translated_ipv4 = nat64_prefix[int(dst_ipv4)]

Loading…
Cancel
Save