ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] typo in file.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Fri, 11 Mar 2005 21:22:36 +0000
Hi,
Or is it a bug?

Didier
Index: file.c
===================================================================
--- file.c	(revision 13710)
+++ file.c	(working copy)
@@ -799,10 +799,7 @@
      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;
     }
   } else
     fdata->flags.passed_dfilter = 1;