On 09/02/2025 16:52, Denys Vlasenko wrote:
The use case is unclear. For the above examples,
how is this supposed to be used outside of manual debug runs
to see what server responds with?

E.g. if used from a script or another tool:
* how -r IP_ADDR value is to be determined?

The original purpose of DHCPINFORM as specified by RFC2131 is when the the client already assigned itself an IP address, typically with a static configuration. So the script that configures the static address can just call udhcpc once with the address that it configured.

As for the address of the DHCP server, most of the time it is the default gateway, even through it is probably not a good idea to hardcode that.
_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to