From 65e9f2faf210babe23cd14642437caa4fd8dad3f Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Mon, 30 Sep 2024 15:04:45 +0200 Subject: [PATCH] Additional port 3489 for DLT MF4 Import. (#552) Signed-off-by: Alexander Wenzel --- qdlt/qdltimporter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdlt/qdltimporter.cpp b/qdlt/qdltimporter.cpp index a8a3656d..f40fe1d5 100644 --- a/qdlt/qdltimporter.cpp +++ b/qdlt/qdltimporter.cpp @@ -1052,7 +1052,7 @@ bool QDltImporter::dltFromEthernetFrame(QFile &outputfile,QByteArray &record,int return false; } quint16 destPort = (((quint16)record.at(pos))<<8)|((quint16)(record.at(pos+1)&0xff)); - if(destPort==3490) + if(destPort==3490||destPort==3489) { pos+=6; dltFrame(outputfile,record,pos,sec,usec); @@ -1073,7 +1073,7 @@ bool QDltImporter::dltFromEthernetFrame(QFile &outputfile,QByteArray &record,int return false; } quint16 destPort = (((quint16)segmentBufferUDP.at(pos))<<8)|((quint16)(segmentBufferUDP.at(pos+1)&0xff)); - if(destPort==3490) + if(destPort==3490||destPort==3489) { pos+=6; dltFrame(outputfile,segmentBufferUDP,pos,sec,usec);