Don't prime the display filter unless we're re-applying it; otherwise,
we aren't building a protocol tree, and we can't prime the filter against the tree. svn path=/trunk/; revision=5206
This commit is contained in:
parent
b06e01ece1
commit
3cab99ea75
4
file.c
4
file.c
|
@ -1,7 +1,7 @@
|
|||
/* file.c
|
||||
* File I/O routines
|
||||
*
|
||||
* $Id: file.c,v 1.267 2002/03/31 20:56:59 guy Exp $
|
||||
* $Id: file.c,v 1.268 2002/04/20 01:54:27 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@ethereal.com>
|
||||
|
@ -654,7 +654,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
|
|||
/* Dissect the frame. */
|
||||
edt = epan_dissect_new(create_proto_tree, FALSE);
|
||||
|
||||
if (cf->dfcode) {
|
||||
if (cf->dfcode != NULL && refilter) {
|
||||
epan_dissect_prime_dfilter(edt, cf->dfcode);
|
||||
}
|
||||
if (filter_list) {
|
||||
|
|
Loading…
Reference in New Issue