From: Guy Harris Date: Thu, 6 Nov 2014 07:39:57 +0000 (-0800) Subject: Use u_short rather than u_int16_t; that's what we do elsewhere. X-Git-Tag: libpcap-1.7.0-bp~1^2~4 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/29ddd430b98024b58d808bad225b572d856e985e Use u_short rather than u_int16_t; that's what we do elsewhere. u_int16_t is not guaranteed to be defined when this is included by applications (for example, tcpdump). --- diff --git a/pcap/bpf.h b/pcap/bpf.h index 27d46300..48805087 100644 --- a/pcap/bpf.h +++ b/pcap/bpf.h @@ -1475,8 +1475,8 @@ struct bpf_insn { * run it in userland). It contains VLAN tag information. */ struct bpf_aux_data { - u_int16_t vlan_tag_present; - u_int16_t vlan_tag; + u_short vlan_tag_present; + u_short vlan_tag; }; /*