Fix capture on IOU/IOL links. Fixes #2477

This commit is contained in:
grossmj 2025-01-11 18:46:55 +07:00
parent 54c0b383cb
commit 035a104957
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -284,7 +284,7 @@ async def start_iou_node_capture(
""" """
pcap_file_path = os.path.join(node.project.capture_working_directory(), node_capture_data.capture_file_name) pcap_file_path = os.path.join(node.project.capture_working_directory(), node_capture_data.capture_file_name)
await node.start_capture(adapter_number, pcap_file_path) await node.start_capture(adapter_number, port_number, pcap_file_path)
return {"pcap_file_path": str(pcap_file_path)} return {"pcap_file_path": str(pcap_file_path)}