Default delete not necessary: 0x42 -> 66 is our host
This commit is contained in:
		
					parent
					
						
							
								4ac6a49688
							
						
					
				
			
			
				commit
				
					
						ec858ea27f
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -330,7 +330,6 @@ class L2Controller(object):
 | 
			
		|||
        log.debug("Config v4 host: {} {}->{} on {} via {}".format(host, net, ipaddr, dev, router))
 | 
			
		||||
 | 
			
		||||
        subprocess.call(["mx", host, "ip", "addr", "flush", "dev", dev])
 | 
			
		||||
        subprocess.call(["mx", host, "ip", "route", "del", "default"])
 | 
			
		||||
        subprocess.call(["mx", host, "ip", "addr", "add", ipaddr, "dev", dev])
 | 
			
		||||
 | 
			
		||||
        if router:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue