1
0
mirror of https://github.com/pavel-odintsov/fastnetmon synced 2024-11-23 00:52:00 +01:00

Replace u16 by u_int16_t

This commit is contained in:
Pavel Odintsov 2015-03-06 15:41:43 +03:00
parent db23fee124
commit f086333141

@ -226,7 +226,7 @@ char *proto2str(u_short proto);
struct ethhdr {
unsigned char h_dest[ETH_ALEN]; /* destination eth addr */
unsigned char h_source[ETH_ALEN]; /* source ether addr */
__u16 h_proto; /* packet type ID field */
u_int16_t h_proto; /* packet type ID field */
} __attribute__((packed));
#endif