From f9981411f1bab7593b451e37a5815e21334ac5b5 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 6 May 2010 18:34:30 +0000 Subject: 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 --- capture_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capture_opts.h') 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 -- cgit v1.2.1