mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-06-27 07:43:37 +08:00
Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards.
This commit is contained in:
@@ -3,6 +3,12 @@
|
||||
* Address Resolution Protocol module for IP over Ethernet
|
||||
*
|
||||
* $Log: etharp.c,v $
|
||||
* Revision 1.25 2003/02/20 08:42:04 likewise
|
||||
* Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards.
|
||||
*
|
||||
* Revision 1.24.2.1 2003/02/10 22:42:59 likewise
|
||||
* Massive amount of refactoring DHCP code.
|
||||
*
|
||||
* Revision 1.24 2003/02/06 22:18:57 davidhaas
|
||||
* Add the following features and bugfixes:
|
||||
*
|
||||
@@ -533,7 +539,7 @@ etharp_arp_input(struct netif *netif, struct eth_addr *ethaddr, struct pbuf *p)
|
||||
DEBUGF(ETHARP_DEBUG, ("etharp_arp_input: incoming ARP reply\n"));
|
||||
#if (LWIP_DHCP && DHCP_DOES_ARP_CHECK)
|
||||
/* DHCP needs to know about ARP replies */
|
||||
dhcp_arp_reply(&hdr->sipaddr);
|
||||
dhcp_arp_reply(struct netif *netif, &hdr->sipaddr);
|
||||
#endif
|
||||
/* ARP reply directed to us? */
|
||||
if(ip_addr_cmp(&(hdr->dipaddr), &(netif->ip_addr))) {
|
||||
|
||||
Reference in New Issue
Block a user