Change NAT64 prefix in test.py
This commit is contained in:
		
					parent
					
						
							
								0ad6fa9a36
							
						
					
				
			
			
				commit
				
					
						ccf7e15241
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue