]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ether.c
Update WinDump.dsp
[tcpdump] / print-ether.c
index f3f43c1e49247bfe0ec9e716d772925c65e0dfde..7e9f78bea2881c99a6ecf55538cf2de2a37ec763 100644 (file)
@@ -89,7 +89,7 @@ ether_hdr_print(netdissect_options *ndo,
                 const u_char *bp, u_int length)
 {
        register const struct ether_header *ep;
                 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;
 
 
        ep = (const struct ether_header *)bp;
 
@@ -181,7 +181,7 @@ recurse:
                        return;
                }
                if (ndo->ndo_eflag) {
                        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,
 
                        ND_PRINT((ndo, "vlan %u, p %u%s, ",
                            tag & 0xfff,