diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-05 23:39:57 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-05 23:39:57 -0800 |
commit | 29ddd430b98024b58d808bad225b572d856e985e (patch) | |
tree | bcbfc9fd324997a9cea28c24045bb8b508a0be31 | |
parent | 470e33dd8bfc28eb9d7dc042748552edd790d914 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; }; /* |