Fix build break with stream stats fix

The fix was validated with Windows, but not on Linux. This commit fixes
the build break for non-windows platforms.
This commit is contained in:
Srivats P 2023-02-09 15:06:34 +05:30
parent c70811eaa4
commit 7b7ede351b

View File

@ -238,7 +238,7 @@ QString PcapRxStats::debugStats()
.arg(incPcapStats.ps_recv)
.arg(incPcapStats.ps_drop)
.arg(incPcapStats.ps_ifdrop);
lastPcapStats_ = *pcapStats;
lastPcapStats_ = pcapStats;
} else {
dbgStats = QString("error reading pcap stats: %1")
.arg(pcap_geterr(handle_));