Fix missing packet summary line in pcap import diff
Looks like starting somewhere in Wireshark 2.x, when we give -x to tshark, we also need to explicitly give -P to include the one-line summary of the packet. This one-line summary is used in the diff to find out which packets experienced a diff.
This commit is contained in:
parent
f1a962a6c4
commit
487f3e653d
@ -276,6 +276,7 @@ bool PcapFileFormat::open(const QString fileName,
|
||||
QStringList()
|
||||
<< QString("-r%1").arg(fileName)
|
||||
<< "-otcp.desegment_tcp_streams:FALSE"
|
||||
<< "-P"
|
||||
<< "-x");
|
||||
if (!tshark.waitForStarted(-1))
|
||||
{
|
||||
@ -336,6 +337,7 @@ bool PcapFileFormat::open(const QString fileName,
|
||||
QStringList()
|
||||
<< QString("-r%1").arg(importedPcapFile.fileName())
|
||||
<< "-otcp.desegment_tcp_streams:FALSE"
|
||||
<< "-P"
|
||||
<< "-x");
|
||||
if (!tshark.waitForStarted(-1))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user