summaryrefslogtreecommitdiff
path: root/ui/qt
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-05-29 08:51:30 +0200
committerMichael Mann <mmann78@netscape.net>2017-05-29 15:33:02 +0000
commit10d7e391b3c9de2ea66a46980bf2362bb79292f3 (patch)
tree6efdfe8a8e37424f569fc1a4af89947ae483989e /ui/qt
parentd3af1613ddcc813f2203ea1c06fbbdb3e19ed104 (diff)
downloadwireshark-10d7e391b3c9de2ea66a46980bf2362bb79292f3.tar.gz
Qt: Fix capture filter verification for non-extcap interfaces.
Change-Id: Id45052f21ebb290bf92c201370584156a65f2e19 Reviewed-on: https://code.wireshark.org/review/21777 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/capture_filter_syntax_worker.cpp2
1 files changed, 1 insertions, 1 deletions
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) {