From 6afe1f3597e8183951c2b142c72caf4c7856a38b Mon Sep 17 00:00:00 2001 From: jgrubb Date: Mon, 10 Sep 2007 18:12:13 +0000 Subject: [PATCH] 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. --- src/include/lwip/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index a295e4c5..39d79059 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -453,7 +453,7 @@ * DHCP_DOES_ARP_CHECK==1: Do an ARP check on the offered address. */ #ifndef DHCP_DOES_ARP_CHECK -#define DHCP_DOES_ARP_CHECK 1 +#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP)) #endif /*