Fix eth_hdr struct definition
This commit is contained in:
parent
36c9e97ad1
commit
d54846c848
1 changed files with 3 additions and 3 deletions
6
nmrp.c
6
nmrp.c
|
@ -89,10 +89,10 @@ struct nmrp_msg {
|
||||||
} PACKED;
|
} PACKED;
|
||||||
|
|
||||||
struct eth_hdr {
|
struct eth_hdr {
|
||||||
uint8_t ether_shost[8];
|
uint8_t ether_dhost[6];
|
||||||
uint8_t ether_dhost[8];
|
uint8_t ether_shost[6];
|
||||||
uint16_t ether_type;
|
uint16_t ether_type;
|
||||||
};
|
} PACKED;
|
||||||
|
|
||||||
struct nmrp_pkt {
|
struct nmrp_pkt {
|
||||||
struct eth_hdr eh;
|
struct eth_hdr eh;
|
||||||
|
|
Loading…
Add table
Reference in a new issue