aboutsummaryrefslogtreecommitdiffstats
path: root/capture_opts.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-06 23:33:41 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-05-06 23:33:41 +0000
commit3024175b303910a620af9fe66fe012bca61d9900 (patch)
tree1aa042d94c1c2c65a70a49ca2e83874522296849 /capture_opts.h
parentcf13c471b3838fbff8a6a7194d9c03c01f73f0eb (diff)
Just check for pcap_create(); it first appeared in libpcap 1.0.0, and
pcap_set_buffer_size() did as well, so there aren't any libpcap releases with pcap_create() but not pcap_set_buffer_size(). Only do one check for pcap_create. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32695 f5534014-38df-0310-8fa8-9805f1628bb7
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 507ced2926..fa9bf6d641 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
-#if defined(_WIN32) || defined(HAVE_PCAP_SET_BUFFER_SIZE)
+#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
int buffer_size; /**< the capture buffer size (MB) */
#endif
gboolean has_snaplen; /**< TRUE if maximum capture packet length