1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Fixes bug when starting a packet capture in VirtualBox with the project path containing spaces.

This commit is contained in:
grossmj 2015-03-10 11:05:52 -06:00
parent 4c68fd0d52
commit 062e5a5986

View File

@ -650,7 +650,7 @@ class VirtualBoxVM(BaseVM):
if nio.capturing:
yield from self._modify_vm("--nictrace{} on".format(adapter_number + 1))
yield from self._modify_vm("--nictracefile{} {}".format(adapter_number + 1, nio.pcap_output_file))
yield from self._modify_vm('--nictracefile{} "{}"'.format(adapter_number + 1, nio.pcap_output_file))
for adapter_number in range(len(self._ethernet_adapters), self._maximum_adapters):
log.debug("disabling remaining adapter {}".format(adapter_number))