Skip to content

Commit

Permalink
Additional port 3489 for DLT MF4 Import. (#552)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Wenzel <[email protected]>
  • Loading branch information
alexmucde authored Sep 30, 2024
1 parent b44493f commit 65e9f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qdlt/qdltimporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 65e9f2f

Please sign in to comment.