mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Merge pull request #649 from GNS3/bind_qemu_all_host
Bind qemu UDP tunnels on all hosts
This commit is contained in:
commit
b8909c54cf
@ -1229,6 +1229,7 @@ class QemuVM(BaseNode):
|
||||
log.info("QEMU VM '{name}' [{id}]: stopping packet capture on adapter {adapter_number}".format(name=self.name,
|
||||
id=self.id,
|
||||
adapter_number=adapter_number))
|
||||
|
||||
@property
|
||||
def started(self):
|
||||
"""
|
||||
@ -1446,7 +1447,7 @@ class QemuVM(BaseNode):
|
||||
adapter_number,
|
||||
nio.rhost,
|
||||
nio.rport,
|
||||
self._host,
|
||||
"0.0.0.0",
|
||||
nio.lport)])
|
||||
elif isinstance(nio, NIOTAP):
|
||||
network_options.extend(["-net", "tap,name=gns3-{},ifname={}".format(adapter_number, nio.tap_device)])
|
||||
|
Loading…
Reference in New Issue
Block a user