diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-01-25 19:40:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-01-25 19:40:22 +0000 |
commit | 1a5e1acdf313703f2d5fbee4da5dc4bf4107e505 (patch) | |
tree | 28b6f99ecdcf8d5858a6526d3261dd146f645aa4 /capture_opts.h | |
parent | b58510cc3100d1c26e5018ff55149b42c30e0a85 (diff) |
Actually, you only have monitor mode support if you have pcap_create() -
without pcap_create() and pcap_activate() you don't have any API to turn
it on.
svn path=/trunk/; revision=40725
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/capture_opts.h b/capture_opts.h index f8ed3cd1d8..5e0d2e56ea 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -126,6 +126,8 @@ typedef struct interface_tag { gboolean local; #if defined(_WIN32) || defined(HAVE_PCAP_CREATE) gint buffer; +#endif +#ifdef HAVE_PCAP_CREATE gboolean monitor_mode_enabled; gboolean monitor_mode_supported; #endif |