aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-05 23:39:57 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-05 23:39:57 -0800
commit29ddd430b98024b58d808bad225b572d856e985e (patch)
treebcbfc9fd324997a9cea28c24045bb8b508a0be31
parent470e33dd8bfc28eb9d7dc042748552edd790d914 (diff)
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).
-rw-r--r--pcap/bpf.h4
1 files changed, 2 insertions, 2 deletions
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;
};
/*