mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fixes disabling the VPCS relay feature. Fixes #521.
This commit is contained in:
1 parent
3e89543ab9
commit
cb6df28f59
2 files changed
+5
-3
No files matched your search
@@ -419,8 +419,10 @@ class VPCSVM(BaseVM):
|
||||
command.extend(["-m", str(self._manager.get_mac_id(self.id))]) # the unique ID is used to set the MAC address offset
|
||||
command.extend(["-i", "1"]) # option to start only one VPC instance
|
||||
command.extend(["-F"]) # option to avoid the daemonization of VPCS
|
||||
if self._vpcs_version > parse_version("0.8"):
|
||||
command.extend(["-R"]) # disable relay feature of VPCS (starting with VPCS 0.8)
|
||||
if self._vpcs_version >= parse_version("0.8b"):
|
||||
command.extend(["-R"]) # disable the relay feature of VPCS (starting with VPCS 0.8)
|
||||
else:
|
||||
log.warn("The VPCS relay feature could not be disabled because the VPCS version is below 0.8b")
|
||||
|
||||
nio = self._ethernet_adapter.get_nio(0)
|
||||
if nio:
|
||||
|
||||
Reference in new issue
Block a user