1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-29 02:08:10 +00:00

Qemu UDP listen on all ips

This commit is contained in:
Julien Duponchelle 2016-11-25 15:21:35 +01:00
parent 794dac31f5
commit 9b6b989d1b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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)])