summaryrefslogtreecommitdiff
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-05-06 12:53:24 -0700
committerGuy Harris <guy@alum.mit.edu>2015-05-06 19:53:46 +0000
commit0f55a0f54751649bad47b5aff53c020589c8beb9 (patch)
tree3bd4a706f1fc5da4a427bf7d0968354605f46bb6 /wireshark-qt.cpp
parent8886fbd6085801e866e93af1ef60bd961f3f0b57 (diff)
downloadwireshark-0f55a0f54751649bad47b5aff53c020589c8beb9.tar.gz
Have global_capture_opts if we either have pcap or extcap.
The extcap code uses it; if the intent is not to support extcap if you don't have pcap, then don't enable it in the configure scripts/CMake. Change-Id: I4af80a2e6f557134fa8c542ad3143f3e8ca555d4 Reviewed-on: https://code.wireshark.org/review/8318 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index cfb665543f..f9552af6d3 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -115,7 +115,7 @@
#include "ui/qt/conversation_dialog.h"
#include "ui/qt/endpoint_dialog.h"
-#ifdef HAVE_LIBPCAP
+#if defined(HAVE_LIBPCAP) || defined(HAVE_EXTCAP)
capture_options global_capture_opts;
#endif