mirror of
https://github.com/retspen/webvirtcloud
synced 2025-01-12 08:25:18 +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'>"""
|
xml += """<interface type='network'>"""
|
||||||
if mac:
|
if mac:
|
||||||
xml += """<mac address='%s'/>""" % mac
|
xml += """<mac address='%s'/>""" % mac
|
||||||
xml += """<source network='%s'/>""" % net
|
xml += """<source network='%s'/>
|
||||||
|
<filterref filter='clean-traffic'/>""" % net
|
||||||
if virtio:
|
if virtio:
|
||||||
xml += """<model type='virtio'/>"""
|
xml += """<model type='virtio'/>"""
|
||||||
xml += """</interface>"""
|
xml += """</interface>"""
|
||||||
|
|
Loading…
Reference in a new issue