GTK: Bugfix not allowing extcap capture filters to be verified.

Matches Id45052f21ebb290bf92c201370584156a65f2e19

Change-Id: I2b097d176ec3ce0637af95d66d2f58b834c79ea2
Reviewed-on: https://code.wireshark.org/review/21783
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michael Mann 2017-05-29 11:30:16 -04:00
parent b988d8b392
commit 4e05adcfb2
1 changed files with 1 additions and 1 deletions

View File

@ -766,7 +766,7 @@ capture_all_filter_check_syntax_cb(GtkWidget *w _U_, gpointer user_data _U_)
}
#ifdef HAVE_EXTCAP
/* Can't verify extcap capture filters */
if (device.if_info.extcap != NULL)
if (device.if_info.extcap != NULL && strlen(device.if_info.extcap) > 0)
continue;
#endif
filter_text = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT(filter_cm));