summaryrefslogtreecommitdiff
path: root/external/bsd/libpcap
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2020-04-04 21:00:03 +0000
committerchristos <christos@NetBSD.org>2020-04-04 21:00:03 +0000
commit9be7bc953ec28b751fbd9155eadca4b9cdc04702 (patch)
treefc315e1f61fdbec51bbfad3ea152274c05126ed9 /external/bsd/libpcap
parent2828d84ffab4a8d5cb22a150f8b6bbd8b28098d1 (diff)
Always include the sampling member so that the struct size is consistent.
Diffstat (limited to 'external/bsd/libpcap')
-rw-r--r--external/bsd/libpcap/dist/pcap-int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/external/bsd/libpcap/dist/pcap-int.h b/external/bsd/libpcap/dist/pcap-int.h
index 9032032298d..2472eb7a672 100644
--- a/external/bsd/libpcap/dist/pcap-int.h
+++ b/external/bsd/libpcap/dist/pcap-int.h
@@ -1,4 +1,4 @@
-/* $NetBSD: pcap-int.h,v 1.6 2019/10/01 16:02:12 christos Exp $ */
+/* $NetBSD: pcap-int.h,v 1.7 2020/04/04 21:00:03 christos Exp $ */
/*
* Copyright (c) 1994, 1995, 1996
@@ -182,9 +182,9 @@ struct pcap {
void *priv; /* private data for methods */
-#ifdef ENABLE_REMOTE
+// #ifdef ENABLE_REMOTE
struct pcap_samp rmt_samp; /* parameters related to the sampling process. */
-#endif
+// #endif
int swapped;
FILE *rfile; /* null if live capture, non-null if savefile */