mirror of
https://github.com/espressif/esp-lwip.git
synced 2026-08-19 08:20:04 +00:00
fix(dhcp): Fix dhcp renew fail in t1 and will renew ip in t2 every 1s util renew successful.
This commit is contained in:
@@ -542,6 +542,11 @@ dhcp_timeout(struct netif *netif)
|
||||
dhcp_discover(netif);
|
||||
}
|
||||
}
|
||||
#if ESP_DHCP
|
||||
else if (dhcp->state == DHCP_STATE_REBINDING) {
|
||||
dhcp->t2_rebind_time = 1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user