Use nsec pcap as intermediate when opening non-pcap
When opening a non-PCAP file, we convert it to intermediate PCAP format. Use nanosecond pcap format instead of standard microsec pcap format for higher timestamp resolution. Updates #238
This commit is contained in:
parent
226705f015
commit
735e960dcb
@ -594,7 +594,7 @@ bool PcapFileFormat::convertToStandardPcap(
|
||||
tshark.start(OstProtoLib::tsharkPath(),
|
||||
QStringList()
|
||||
<< QString("-r%1").arg(fileName)
|
||||
<< "-Fpcap"
|
||||
<< "-Fnsecpcap"
|
||||
<< QString("-w%1").arg(outputFileName));
|
||||
if (!tshark.waitForStarted(-1))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user