3 |
* Address Resolution Protocol module for IP over Ethernet |
* Address Resolution Protocol module for IP over Ethernet |
4 |
* |
* |
5 |
* $Log$ |
* $Log$ |
6 |
|
* Revision 1.24.2.1 2003/02/10 22:42:59 likewise |
7 |
|
* Massive amount of refactoring DHCP code. |
8 |
|
* |
9 |
* Revision 1.24 2003/02/06 22:18:57 davidhaas |
* Revision 1.24 2003/02/06 22:18:57 davidhaas |
10 |
* Add the following features and bugfixes: |
* Add the following features and bugfixes: |
11 |
* |
* |
536 |
DEBUGF(ETHARP_DEBUG, ("etharp_arp_input: incoming ARP reply\n")); |
DEBUGF(ETHARP_DEBUG, ("etharp_arp_input: incoming ARP reply\n")); |
537 |
#if (LWIP_DHCP && DHCP_DOES_ARP_CHECK) |
#if (LWIP_DHCP && DHCP_DOES_ARP_CHECK) |
538 |
/* DHCP needs to know about ARP replies */ |
/* DHCP needs to know about ARP replies */ |
539 |
dhcp_arp_reply(&hdr->sipaddr); |
dhcp_arp_reply(struct netif *netif, &hdr->sipaddr); |
540 |
#endif |
#endif |
541 |
/* ARP reply directed to us? */ |
/* ARP reply directed to us? */ |
542 |
if(ip_addr_cmp(&(hdr->dipaddr), &(netif->ip_addr))) { |
if(ip_addr_cmp(&(hdr->dipaddr), &(netif->ip_addr))) { |