Merge pull request #423 from DrDoof/fix/arp-refresh-from-ip

Refresh ARP entries from incoming IP traffic
This commit is contained in:
René van Dorst authored and GitHub committed 2026-09-13 08:41:10 +00:00
commit 5e513daf17
3 files changed
+4 -9

No files matched your search

+1 -1
View File
@@ -1264,7 +1264,7 @@ void handle_rx(void)
}
} else if (ETH_IN->ether_type == HTONS(0x0800)) { // IPv4
if (!management_vlan || management_vlan == rx_packet_vlan) {
uip_arp_ipin(); // Learn MAC addresses in TCP packets
uip_arp_ipin();
uip_input();
if (uip_len) {
// Add ethernet frame