Skip to content

dhcpv4: handle DHCPNAK by returning to discover - #58

Open
mla2 wants to merge 1 commit into
masterfrom
mla/dhcp-nak
Open

dhcpv4: handle DHCPNAK by returning to discover#58
mla2 wants to merge 1 commit into
masterfrom
mla/dhcp-nak

Conversation

@mla2

@mla2 mla2 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

NAKs were dropped before dispatch because the required-options check (netmask, gateway, lease time, server id) ran ahead of the message-type switch, and a NAK carries none of those. Require only the message type up front, check the full option set inside OFFER/ACK, and on NAK in REQUESTING or BOUND state restart discovery.

NAKs were dropped before dispatch because the required-options check
(netmask, gateway, lease time, server id) ran ahead of the message-type
switch, and a NAK carries none of those. Require only the message type
up front, check the full option set inside OFFER/ACK, and on NAK in
REQUESTING or BOUND state restart discovery.

Co-Authored-By: Claude <noreply@anthropic.com>
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