X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1cde6435df23876fb88998e38739def0dc7dca47..4350b85ea02fcfc17b4c99db81fd48317d48b98d:/print-ether.c?ds=sidebyside diff --git a/print-ether.c b/print-ether.c index f3f43c1e..7e9f78be 100644 --- a/print-ether.c +++ b/print-ether.c @@ -89,7 +89,7 @@ ether_hdr_print(netdissect_options *ndo, const u_char *bp, u_int length) { register const struct ether_header *ep; - u_int16_t ether_type; + uint16_t ether_type; ep = (const struct ether_header *)bp; @@ -181,7 +181,7 @@ recurse: return; } if (ndo->ndo_eflag) { - u_int16_t tag = EXTRACT_16BITS(p); + uint16_t tag = EXTRACT_16BITS(p); ND_PRINT((ndo, "vlan %u, p %u%s, ", tag & 0xfff,