Always include the sampling member so that the struct size is consistent.
This commit is contained in:
parent
3b26322cff
commit
9dd097b5c2
6
external/bsd/libpcap/dist/pcap-int.h
vendored
6
external/bsd/libpcap/dist/pcap-int.h
vendored
@ -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
|
* Copyright (c) 1994, 1995, 1996
|
||||||
@ -182,9 +182,9 @@ struct pcap {
|
|||||||
|
|
||||||
void *priv; /* private data for methods */
|
void *priv; /* private data for methods */
|
||||||
|
|
||||||
#ifdef ENABLE_REMOTE
|
// #ifdef ENABLE_REMOTE
|
||||||
struct pcap_samp rmt_samp; /* parameters related to the sampling process. */
|
struct pcap_samp rmt_samp; /* parameters related to the sampling process. */
|
||||||
#endif
|
// #endif
|
||||||
|
|
||||||
int swapped;
|
int swapped;
|
||||||
FILE *rfile; /* null if live capture, non-null if savefile */
|
FILE *rfile; /* null if live capture, non-null if savefile */
|
||||||
|
Loading…
Reference in New Issue
Block a user