Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve support for renewal and rebinding options #536

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

michaelharo
Copy link
Contributor

No description provided.

pmazzini
pmazzini previously approved these changes May 29, 2024
@michaelharo
Copy link
Contributor Author

michaelharo commented May 29, 2024

I'm looking for some feedback on this request. For example, I couldn't decide if the functions should include "Value" in their name. "Time Value" is part of the name of the option in the RFC.

dhcpv4.OptRenewTimeValue(...) or dhcpv4.OptRenewTime(...)

Also the access functions on DHCPv4 already exist and are named like IPAddressRenewalTime. Would it be more clear if the option creation helpers were named with an IPAddress prefix so like OptIPAddressRenewalTime (also renew vs renewal)?

@michaelharo michaelharo requested a review from pmazzini May 29, 2024 19:45
@michaelharo
Copy link
Contributor Author

What's the next step for getting this request merged?

@pmazzini pmazzini merged commit bf3278a into insomniacslk:master Jun 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants