net: pack that?

This commit is contained in:
K. Lange 2021-06-09 19:44:52 +09:00
parent 081ac1c160
commit 341c5ec7aa

View File

@ -21,7 +21,7 @@ struct arp_header {
uint32_t arp_spa;
uint16_t arp_tha[6];
uint32_t arp_tpa;
} arp_eth_ipv4;
} __attribute__((packed)) arp_eth_ipv4;
} arp_data;
} __attribute__((packed));