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/8eb6089ba128
branches:  trunk
changeset: 1008876:8eb6089ba128
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 8dc24afe45e9 -r 8eb6089ba128 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