aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'capture_opts.h')
-rw-r--r--capture_opts.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h
index fa9bf6d641..d4bacb4f19 100644
--- a/capture_opts.h
+++ b/capture_opts.h
@@ -114,6 +114,9 @@ typedef struct capture_options_tag {
gboolean promisc_mode; /**< Capture in promiscuous mode */
int linktype; /**< Data link type to use, or -1 for
"use default" */
+#ifdef HAVE_PCAP_CREATE
+ gboolean monitor_mode; /**< Capture in monitor mode, if available */
+#endif
gboolean saving_to_file; /**< TRUE if capture is writing to a file */
gchar *save_file; /**< the capture file name */
gboolean use_pcapng; /**< TRUE if file format is pcapng */