1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +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):
# TAP interface
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(["-i", "1"]) # option to start only one VPC instance