diff --git a/nethogs.cpp b/nethogs.cpp index 58eb8c3..fe7777b 100644 --- a/nethogs.cpp +++ b/nethogs.cpp @@ -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; }