mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	Fixed MAC and IP spoofing
This commit is contained in:
		
							parent
							
								
									d7dffcd883
								
							
						
					
					
						commit
						5ec8895325
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -193,7 +193,8 @@ class wvmCreate(wvmConnect): | |||
|             xml += """<interface type='network'>""" | ||||
|             if mac: | ||||
|                 xml += """<mac address='%s'/>""" % mac | ||||
|             xml += """<source network='%s'/>""" % net | ||||
|             xml += """<source network='%s'/> | ||||
|                       <filterref filter='clean-traffic'/>""" % net | ||||
|             if virtio: | ||||
|                 xml += """<model type='virtio'/>""" | ||||
|             xml += """</interface>""" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue