diff --git a/components/net/lwip-1.4.1/src/netif/ethernetif.c b/components/net/lwip-1.4.1/src/netif/ethernetif.c index c47bb8e191..ab7743290a 100644 --- a/components/net/lwip-1.4.1/src/netif/ethernetif.c +++ b/components/net/lwip-1.4.1/src/netif/ethernetif.c @@ -428,10 +428,6 @@ INIT_DEVICE_EXPORT(eth_system_device_init); #include void set_if(char* netif_name, char* ip_addr, char* gw_addr, char* nm_addr) { -#if LWIP_DHCP - return ; -#endif - struct ip_addr *ip; struct ip_addr addr; struct netif * netif = netif_list;