aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/file.c b/file.c
index 8dc9a35122..bee2adfe30 100644
--- a/file.c
+++ b/file.c
@@ -1688,9 +1688,6 @@ cf_filter_packets(capture_file *cf, gchar *dftext, gboolean force)
cf->dfilter = dftext;
g_get_current_time(&start_time);
- /* if we are capturing without displaying packets, there is nothing to filter */
- if (cf->frames == NULL)
- return CF_ERROR;
/* Now rescan the packet list, applying the new filter, but not
throwing away information constructed on a previous pass. */