lwip: fix compile issue when autoip option enabled

This commit is contained in:
Wu Jian Gang 2017-01-07 21:20:39 +08:00
parent 3fba6f4392
commit 9dd5f2a952

View file

@ -273,7 +273,7 @@ autoip_bind(struct netif *netif)
#if ESP_LWIP #if ESP_LWIP
struct dhcp *dhcp = netif->dhcp; struct dhcp *dhcp = netif->dhcp;
if (dhcp->cb != NULL) { if (dhcp->cb != NULL) {
dhcp->cb(); dhcp->cb(netif);
} }
#endif #endif
return ERR_OK; return ERR_OK;