forked from espressif/esp-idf
fix(lwip): Fixed compilation issue with LWIP_DHCP_RESTORE_LAST_IP
Closes https://github.com/espressif/esp-idf/issues/14582
This commit is contained in:
@@ -362,7 +362,7 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
#define LWIP_HOOK_DHCP_POST_INIT(netif, result) \
|
#define LWIP_HOOK_DHCP_POST_INIT(netif, result) \
|
||||||
(dhcp_ip_addr_restore(netif) ? ( dhcp_set_state(dhcp, DHCP_STATE_BOUND), \
|
(dhcp_ip_addr_restore(netif) ? ( dhcp_set_state(dhcp, DHCP_STATE_BOUND), \
|
||||||
dhcp_network_changed(netif), \
|
dhcp_network_changed_link_up(netif), \
|
||||||
(result) = ERR_OK , \
|
(result) = ERR_OK , \
|
||||||
true ) : \
|
true ) : \
|
||||||
false)
|
false)
|
||||||
|
Reference in New Issue
Block a user