]> The Tcpdump Group git mirrors - tcpdump/blobdiff - ether.h
Don't do IPv6 stuff if INET6 isn't defined.
[tcpdump] / ether.h
diff --git a/ether.h b/ether.h
index cd407db28de7f700752ee7b0871d9154c5aa475d..58b92de52a030d506bb37ede49427c8452ef9e25 100644 (file)
--- a/ether.h
+++ b/ether.h
@@ -44,9 +44,9 @@
  * Structure of a DEC/Intel/Xerox or 802.3 Ethernet header.
  */
 struct ether_header {
-       u_int8_t        ether_dhost[ETHER_ADDR_LEN];
-       u_int8_t        ether_shost[ETHER_ADDR_LEN];
-       u_int16_t       ether_type;
+       uint8_t         ether_dhost[ETHER_ADDR_LEN];
+       uint8_t         ether_shost[ETHER_ADDR_LEN];
+       uint16_t        ether_type;
 };
 
 /*