Fix for enabling broken SSL certificate mismatch alerts

This commit is contained in:
Luca Deri 2018-07-09 23:48:31 +02:00
parent 25a1a961c2
commit ea115eb582
4 changed files with 20 additions and 5 deletions

View file

@ -2687,7 +2687,10 @@ void NetworkInterface::periodicStatsUpdate() {
if(isView()) return;
gettimeofday(&tv, NULL);
if(!read_from_pcap_dump())
gettimeofday(&tv, NULL);
else
tv.tv_sec = last_pkt_rcvd, tv.tv_usec = 0;
#ifdef NTOPNG_PRO
if(getHostPools()) getHostPools()->checkPoolsStatsReset();