mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-28 19:18:32 +08:00
Prevent non-unicast addresses from polluting the ARP cache.
This commit is contained in:
@@ -49,6 +49,8 @@ struct eth_addr {
|
||||
};
|
||||
|
||||
struct eth_hdr {
|
||||
/* Ethernet header is 14 bytes, this breaks natural alignment on
|
||||
* subsequent (TCP/IP) protocol header fields. */
|
||||
#if ETH_PAD_SIZE
|
||||
u8_t padding[ETH_PAD_SIZE];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user