From 10d7e391b3c9de2ea66a46980bf2362bb79292f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Mon, 29 May 2017 08:51:30 +0200 Subject: Qt: Fix capture filter verification for non-extcap interfaces. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id45052f21ebb290bf92c201370584156a65f2e19 Reviewed-on: https://code.wireshark.org/review/21777 Petri-Dish: Stig Bjørlykke Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann --- ui/qt/capture_filter_syntax_worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/qt') diff --git a/ui/qt/capture_filter_syntax_worker.cpp b/ui/qt/capture_filter_syntax_worker.cpp index e2dae2bac0..83f9b13375 100644 --- a/ui/qt/capture_filter_syntax_worker.cpp +++ b/ui/qt/capture_filter_syntax_worker.cpp @@ -88,7 +88,7 @@ void CaptureFilterSyntaxWorker::start() { device = g_array_index(global_capture_opts.all_ifaces, interface_t, if_idx); if (!device.locked && device.selected) { #ifdef HAVE_EXTCAP - if (device.if_info.extcap == NULL) + if (device.if_info.extcap == NULL || strlen(device.if_info.extcap) == 0) { #endif if (device.active_dlt >= DLT_USER0 && device.active_dlt <= DLT_USER15) { -- cgit v1.2.1