Skip to content

Commit

Permalink
fix(lwip): use dhcp_network_changed_link_up()
Browse files Browse the repository at this point in the history
The function `dhcp_network_changed()` was renamed to
`dhcp_network_changed_link_up()` upstream. Use the new function name.

This closes #14582.

Signed-off-by: Sean Cross <[email protected]>
  • Loading branch information
xobs committed Sep 27, 2024
1 parent 46acfdc commit c60ec31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lwip/port/include/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c60ec31

Please sign in to comment.