small bug fix

This commit is contained in:
Mohamed Boussaffa
2016-03-06 20:59:24 +08:00
parent 0690c3e2b5
commit dd99cf8550

View File

@@ -228,6 +228,10 @@ static void nethogsmonitor_threadproc()
{ {
packets_read = true; packets_read = true;
} }
else
{
gettimeofday(&curtime, NULL);
}
current_handle = current_handle->next; current_handle = current_handle->next;
} }