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:
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
|
||||
|
Loading…
Reference in New Issue
Block a user