Qemu UDP listen on all ips

This commit is contained in:
Julien Duponchelle committed 2016-11-25 15:21:35 +01:00
1 parent 794dac31f5
commit 9b6b989d1b
1 file changed
+1 -1
+1 -1
View File
@@ -1438,7 +1438,7 @@ class QemuVM(BaseNode):
network_options.extend(["-netdev", "socket,id=gns3-{},udp={}:{},localaddr={}:{}".format(adapter_number,
nio.rhost,
nio.rport,
self._host,
"0.0.0.0",
nio.lport)])
elif isinstance(nio, NIOTAP):
network_options.extend(["-netdev", "tap,id=gns3-{},ifname={},script=no,downscript=no".format(adapter_number, nio.tap_device)])