1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-27 09:18:09 +00:00

Fixes TAP interface use with VPCS.

This commit is contained in:
grossmj 2015-04-03 19:11:28 -06:00
parent 631d7a1e25
commit 1c4202187a

View File

@ -393,7 +393,7 @@ class VPCSVM(BaseVM):
elif isinstance(nio, NIOTAP): elif isinstance(nio, NIOTAP):
# TAP interface # TAP interface
command.extend(["-e"]) command.extend(["-e"])
command.extend(["-d", nio.tap_vm]) command.extend(["-d", nio.tap_device])
command.extend(["-m", str(self._manager.get_mac_id(self.id))]) # the unique ID is used to set the MAC address offset 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(["-i", "1"]) # option to start only one VPC instance