Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libpcap/dist Always include the sampling member...



details:   https://anonhg.NetBSD.org/src/rev/a208c1cf9a56
branches:  trunk
changeset: 970841:a208c1cf9a56
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 04 21:00:03 2020 +0000

description:
Always include the sampling member so that the struct size is consistent.

diffstat:

 external/bsd/libpcap/dist/pcap-int.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r e1dd6330fbd5 -r a208c1cf9a56 external/bsd/libpcap/dist/pcap-int.h
--- a/external/bsd/libpcap/dist/pcap-int.h      Sat Apr 04 20:54:42 2020 +0000
+++ b/external/bsd/libpcap/dist/pcap-int.h      Sat Apr 04 21:00:03 2020 +0000
@@ -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 @@
 
        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 */



Home | Main Index | Thread Index | Old Index