aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-19 10:01:34 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-19 10:01:34 +0000
commitd0009bca14440860f7728c0660788237cbfe9c16 (patch)
tree653c5d72dfd630db172cba125744d634b2d4e371 /file.c
parent20d135115b7493f3a5d857868b3811e57c16a3fe (diff)
from didier
small fix to file.c svn path=/trunk/; revision=13807
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/file.c b/file.c
index d38c2d8973..e6b71a8509 100644
--- a/file.c
+++ b/file.c
@@ -799,10 +799,7 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
If we don't have a display filter, set "passed_dfilter" to 1. */
if (cf->dfcode != NULL) {
if (refilter) {
- if (cf->dfcode != NULL)
- fdata->flags.passed_dfilter = dfilter_apply_edt(cf->dfcode, edt) ? 1 : 0;
- else
- fdata->flags.passed_dfilter = 1;
+ fdata->flags.passed_dfilter = dfilter_apply_edt(cf->dfcode, edt) ? 1 : 0;
}
} else
fdata->flags.passed_dfilter = 1;