Partial fix for https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7270#c4 :
Clear the dependent_of_displayed flag when there's no dfilter. This only helps the case when you clear a display filter before moving on to another display filter. svn path=/trunk/; revision=42758
This commit is contained in:
parent
0ba1ab2909
commit
33c9fa1f30
9
file.c
9
file.c
|
@ -1131,16 +1131,17 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
|
|||
/* This frame passed the display filter but it may depend on other
|
||||
* (potentially not displayed) frames. Find those frames and mark them
|
||||
* as depended upon.
|
||||
*
|
||||
* (We don't have to do this if we're not filtering--that is, the
|
||||
* 'else' case below.)
|
||||
*/
|
||||
g_slist_foreach(edt.pi.dependent_frames, find_and_mark_frame_depended_upon, cf);
|
||||
}
|
||||
}
|
||||
} else
|
||||
} else {
|
||||
fdata->flags.passed_dfilter = 1;
|
||||
|
||||
/* If there's no dfilter then there are no frame dependencies */
|
||||
fdata->flags.dependent_of_displayed = 0;
|
||||
}
|
||||
|
||||
if(fdata->flags.passed_dfilter || fdata->flags.ref_time)
|
||||
cf->displayed_count++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue