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 authored and GitHub committed 2026-08-06 19:07:22 +02:00
commit 555c3ecab5
1 file changed
+1 -1
+1 -1
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)}