Fix pcap for PPP link with IOU

Fix https://github.com/GNS3/gns3-gui/issues/1799
This commit is contained in:
Julien Duponchelle 2017-01-23 18:26:49 +01:00
parent dc40b0296e
commit a24490930f
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -555,7 +555,7 @@ class IOUVM(BaseNode):
if nio.capturing: if nio.capturing:
yield from self._ubridge_send('iol_bridge start_capture {name} "{output_file}" {data_link_type}'.format(name=bridge_name, yield from self._ubridge_send('iol_bridge start_capture {name} "{output_file}" {data_link_type}'.format(name=bridge_name,
output_file=nio.pcap_output_file, output_file=nio.pcap_output_file,
data_link_type=nio.pcap_data_link_type)) data_link_type=re.sub("^DLT_", "", nio.pcap_data_link_type)))
unit_id += 1 unit_id += 1
bay_id += 1 bay_id += 1