commit | 2656601f9fa5ff362415ca5c9a4c511f4a92cf5a | [log] [tgz] |
---|---|---|
author | Evan Wildenhain <wildenhain@google.com> | Mon Jun 12 14:59:50 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 12 14:59:50 2023 +0000 |
tree | 2a714c83019f564a70ecb7c2825b112bb4d9c89a | |
parent | af9e35ed7d8211dd492bf7ed90ed9887b3130dc6 [diff] |
[dhcp/client] Implement Renewing state Implements unicasting renewal requests to the DHCP server we originally got the lease from and handling the response. If we never hear back from the server, then we transition to Rebinding, but the Rebinding state itself is still not finished, so instead we transition to Init as if the lease had expired. This means that we have worse behavior when there are multiple potential DHCP servers on the network, but still allows us to renew "correctly" in most cases without ever needing to hang onto a lease beyond its expiration time. Bug: 81593 Fixed: 124593 Fixed: 125443 Change-Id: If8f3cd3433966c3caff4d56cfed4d1b9952f62f0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/851800 Reviewed-by: Ghanan Gowripalan <ghanan@google.com> Fuchsia-Auto-Submit: Evan Wildenhain <wildenhain@google.com> Reviewed-by: Alex Konradi <akonradi@google.com> Commit-Queue: Evan Wildenhain <wildenhain@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.