diff options
author | Michael Mann <mmann78@netscape.net> | 2015-04-07 03:09:14 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-04-07 03:09:29 +0000 |
commit | 0a729d8d66a26246978588a30c8978c1d745fe7f (patch) | |
tree | 6b291a3401dd3fe78a881d05169378ec21e57e6d /file.c | |
parent | 0eb4dfe23c22ca9a6897589452b003757fbc213f (diff) |
Revert "Don't rescan packets when a display filter is added if we are capturing without "Updating list of packets in real time". There are no displayed packets to filter!"
This reverts commit a11f7a75486abe3b2fdb7e8ba61e41b40b738dee.
Change-Id: If3ae617c8e35439d0a77d2a2ded50288e2e6f5d7
Reviewed-on: https://code.wireshark.org/review/7961
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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. */ |