3 |
* Address Resolution Protocol module for IP over Ethernet |
* Address Resolution Protocol module for IP over Ethernet |
4 |
* |
* |
5 |
* $Log$ |
* $Log$ |
6 |
|
* Revision 1.26 2003/02/20 13:13:56 likewise |
7 |
|
* Fixed some issues open after merging 'leon-dhcp'. Added new debugging. |
8 |
|
* |
9 |
* Revision 1.25 2003/02/20 08:42:04 likewise |
* Revision 1.25 2003/02/20 08:42:04 likewise |
10 |
* Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards. |
* Merged with leon-dhcp branch. Tagged as POST_leon-dhcp afterwards. |
11 |
* |
* |
542 |
DEBUGF(ETHARP_DEBUG, ("etharp_arp_input: incoming ARP reply\n")); |
DEBUGF(ETHARP_DEBUG, ("etharp_arp_input: incoming ARP reply\n")); |
543 |
#if (LWIP_DHCP && DHCP_DOES_ARP_CHECK) |
#if (LWIP_DHCP && DHCP_DOES_ARP_CHECK) |
544 |
/* DHCP needs to know about ARP replies */ |
/* DHCP needs to know about ARP replies */ |
545 |
dhcp_arp_reply(struct netif *netif, &hdr->sipaddr); |
dhcp_arp_reply(netif, &hdr->sipaddr); |
546 |
#endif |
#endif |
547 |
/* ARP reply directed to us? */ |
/* ARP reply directed to us? */ |
548 |
if(ip_addr_cmp(&(hdr->dipaddr), &(netif->ip_addr))) { |
if(ip_addr_cmp(&(hdr->dipaddr), &(netif->ip_addr))) { |