summaryrefslogtreecommitdiff
path: root/capture_opts.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-05-06 18:34:30 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-05-06 18:34:30 +0000
commitf9981411f1bab7593b451e37a5815e21334ac5b5 (patch)
tree6662172c875b789af5b1fa447b6fb621db42188b /capture_opts.h
parentc911b0101bccc57ccb12e0f158aa397fe3859756 (diff)
downloadwireshark-f9981411f1bab7593b451e37a5815e21334ac5b5.tar.gz
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.h2
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