diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-05-06 18:34:30 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-05-06 18:34:30 +0000 |
commit | f9981411f1bab7593b451e37a5815e21334ac5b5 (patch) | |
tree | 6662172c875b789af5b1fa447b6fb621db42188b /capture_opts.h | |
parent | c911b0101bccc57ccb12e0f158aa397fe3859756 (diff) | |
download | wireshark-f9981411f1bab7593b451e37a5815e21334ac5b5.tar.gz wireshark-f9981411f1bab7593b451e37a5815e21334ac5b5.tar.bz2 wireshark-f9981411f1bab7593b451e37a5815e21334ac5b5.zip |
Checking in Stigs changes from
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=475
BUT not activating the check for
pcap_create()
pcap_set_buffer_size()
This should make it possible to build with support for setting the buffersize if not capturing 802.11 traffic.
The code for handling the 'B' option should be OK in any case.
svn path=/trunk/; revision=32688
Diffstat (limited to 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_opts.h b/capture_opts.h index 7b7fb67d86..507ced2926 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -105,7 +105,7 @@ typedef struct capture_options_tag { int sampling_param; /**< PCAP packet sampling parameter */ #endif #endif -#ifdef _WIN32 +#if defined(_WIN32) || defined(HAVE_PCAP_SET_BUFFER_SIZE) int buffer_size; /**< the capture buffer size (MB) */ #endif gboolean has_snaplen; /**< TRUE if maximum capture packet length |