Don't refresh while processing packets

This commit is contained in:
Arnout Engelen
2013-05-12 18:39:36 +00:00
parent d7497c1ebf
commit b56e2f16fe

View File

@@ -148,12 +148,6 @@ int process_tcp (u_char * userdata, const dp_header * header, const u_char * m_p
}
delete packet;
if (needrefresh)
{
do_refresh();
needrefresh = false;
}
/* we're done now. */
return true;
}
@@ -191,12 +185,6 @@ int process_udp (u_char * userdata, const dp_header * header, const u_char * m_p
}
delete packet;
if (needrefresh)
{
do_refresh();
needrefresh = false;
}
/* we're done now. */
return true;
}