dfilter_t *dfcode;
gboolean filtering_tap_listeners;
guint tap_flags;
+ gboolean visible;
/* Compile the current display filter.
* We assume this will not fail since cf->dfilter is only set in
TRY{
if (read_packet(cf, dfcode, filtering_tap_listeners, tap_flags,
data_offset) != -1) {
+ visible = TRUE;
newly_displayed_packets++;
- }
+ }else{
+ visible = FALSE;
+ }
}
CATCH(OutOfMemoryError) {
gpointer dialog;
we have some new packets. */
if (newly_displayed_packets && auto_scroll_live && cf->plist_end != NULL)
#ifdef NEW_PACKET_LIST
- new_packet_list_moveto_end();
+ if(visible)
+ new_packet_list_moveto_end();
#else
/* this doesn't seem to work well with a frozen GTK_Clist, so do this after
packet_list_thaw() is done, see bugzilla 1188 */