Skip to content

fix(nclient4): set NumSeconds field in requests - #567

Open
shkuviak wants to merge 2 commits into
insomniacslk:masterfrom
shkuviak:fix/numSec
Open

fix(nclient4): set NumSeconds field in requests#567
shkuviak wants to merge 2 commits into
insomniacslk:masterfrom
shkuviak:fix/numSec

Conversation

@shkuviak

Copy link
Copy Markdown

Issue

On some DHCP servers, if NumSeconds field is not set (=0) in Discovery packet, DHCP server won't answer.

I found a discussion mentionning this field in #530

Fix

Register client creation date and set NumSeconds field according to seconds elapsed since DHCP process startup, as mentionned in RFC 2131 - 4.4.1

Some servers won't respond if numSec field is not set

Signed-off-by: Nicolas JENDROWIAK <75165555+shkuviak@users.noreply.github.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.

2 participants