Skip to content

DHCP: parse renewal and rebinding time options - #177

Open
occamsshavingkit wants to merge 1 commit into
Wiznet:masterfrom
occamsshavingkit:occamsshavingkit/dhcp-t1-t2
Open

DHCP: parse renewal and rebinding time options#177
occamsshavingkit wants to merge 1 commit into
Wiznet:masterfrom
occamsshavingkit:occamsshavingkit/dhcp-t1-t2

Conversation

@occamsshavingkit

Copy link
Copy Markdown

Summary

Parses DHCP options 58 and 59 as defined by RFC 2132 section 9.

  • Accepts valid four-octet T1 and T2 values.
  • Ignores malformed or truncated timer options.
  • Preserves deterministic lease-derived defaults when options are absent or invalid.
  • Keeps rebinding state behavior separate for focused review.

Validation

  • Focused test: test_dhcp_t1_t2.c passed.
  • Branch is based on current master.
  • Only Internet/DHCP/dhcp.c changes.

No matching open issue was found. Hardware/HIL validation is not included in this PR.

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.

1 participant