Merge pull request #2845 from yueguobin/fix/iou-serial-capture-linktype

Fix IOU serial-link captures always written as Ethernet (DLT_EN10MB)
This commit is contained in:
Jeremy Grossmann 2026-08-06 19:07:22 +02:00 committed by GitHub
commit 555c3ecab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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