DHCP_DOES_ARP_CHECK is set to 1 by default -- the compile-time checks fail if DHCP is off... So this patch sets the default to be 1 only if both DHCP and ARP are set.

This commit is contained in:
jgrubb 2007-09-10 18:12:13 +00:00
parent 4466260480
commit 6afe1f3597

View File

@ -453,7 +453,7 @@
* DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address. * DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address.
*/ */
#ifndef DHCP_DOES_ARP_CHECK #ifndef DHCP_DOES_ARP_CHECK
#define DHCP_DOES_ARP_CHECK 1 #define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
#endif #endif
/* /*