From: guy Date: Sat, 20 Jul 2002 23:50:21 +0000 (+0000) Subject: Make "flags" in a "struct pcap_if" a "bpf_u_int32", as requested by X-Git-Tag: libpcap-0.8-bp~170 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/1d0879987d8315786eccae57b10cf26ecfeef496?ds=sidebyside Make "flags" in a "struct pcap_if" a "bpf_u_int32", as requested by Fulvio Risso. --- diff --git a/pcap.h b/pcap.h index 83ec14c5..47a0c4f8 100644 --- a/pcap.h +++ b/pcap.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.34 2001-12-09 05:10:03 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap.h,v 1.35 2002-07-20 23:50:21 guy Exp $ (LBL) */ #ifndef lib_pcap_h @@ -139,7 +139,7 @@ struct pcap_if { char *name; /* name to hand to "pcap_open_live()" */ char *description; /* textual description of interface, or NULL */ struct pcap_addr *addresses; - u_int flags; /* PCAP_IF_ interface flags */ + bpf_u_int32 flags; /* PCAP_IF_ interface flags */ }; #define PCAP_IF_LOOPBACK 0x00000001 /* interface is loopback */