Module Name:    src
Committed By:   christos
Date:           Sat Apr  4 21:00:03 UTC 2020

Modified Files:
        src/external/bsd/libpcap/dist: pcap-int.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/libpcap/dist/pcap-int.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/libpcap/dist/pcap-int.h
diff -u src/external/bsd/libpcap/dist/pcap-int.h:1.6 src/external/bsd/libpcap/dist/pcap-int.h:1.7
--- src/external/bsd/libpcap/dist/pcap-int.h:1.6	Tue Oct  1 12:02:12 2019
+++ src/external/bsd/libpcap/dist/pcap-int.h	Sat Apr  4 17:00:03 2020
@@ -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 */

Reply via email to