On Thu, May 20, 2021 at 4:33 PM Richard van Paasen <[email protected]> wrote:
> Hi,
>
> I included a patch for the udhcpc applet. RFC 2131 section 3.1.6 clearly 
> states: "If the client used a 'client identifier' when it obtained the lease, 
> it MUST use the same 'client identifier' in the DHCPRELEASE message." 
> Currently the udhcpc applet does not do that for client identifiers provided 
> using option -x 61:<hex string>. This patch fixes that.

Thank you.
I fixed it a bit differently, by removing client_data.clientid entirely,
and by inserting default clientid (when it exists, i.e. unless -C)
into the list of -x options.

Please test current git.

Do we need to send clientid in DHCPDECLINE messages? I did not find
a definitive statenment about it in RFCs, but I have a feeling we should.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to