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) \
|
||||
(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 , \
|
||||
true ) : \
|
||||
false)
|
||||
|
Reference in New Issue
Block a user