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:
Abhik Roy
2025-01-23 21:04:22 +11:00
parent 969ea94ae5
commit 65706be451

View File

@@ -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)