Add comment specifying PDML reader needs PCAP file

Updates #238
This commit is contained in:
Srivats P 2022-01-15 18:36:15 +05:30
parent 0f322fb2d8
commit d09d83000e

View File

@ -236,6 +236,9 @@ _retry:
pktBuf.resize(fileHdr.snapLen);
// XXX: PDML also needs the PCAP file to cross check packet bytes
// with the PDML data, so we can't do PDML conversion any earlier
// than this
qDebug("pdml check");
if (importOptions_.value("ViaPdml").toBool())
{
@ -275,6 +278,8 @@ _retry:
emit status("Reading PDML packets...");
emit target(100); // in percentage
// pdml reader needs pcap, so pass self
isOk = reader.read(&pdmlFile, this, &stop_);
if (stop_)