Bug: 6217
Change-Id: Ie4a90ff8a738d6c970d51598bf14b4b51ea069ce
Reviewed-on: https://code.wireshark.org/review/7918
Reviewed-by: Michael Mann <mmann78@netscape.net>
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. */