]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cachedhcp] Automatically open network device matching cached DHCPACK
authorMichael Brown <mcb30@ipxe.org>
Thu, 26 Feb 2026 13:11:57 +0000 (13:11 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 26 Feb 2026 13:11:57 +0000 (13:11 +0000)
commitefe81263728d1756b21cf08279c5eb96ab1ec646
tree6bdf7080ab2034d8474c67e2442f002458a6c7cd
parent879549da39f1d1bbcb6347d8d24cf86473afdf31
[cachedhcp] Automatically open network device matching cached DHCPACK

It is unintuitive to have to include an "ifopen" at the start of an
autoexec.ipxe script.  Provide a mechanism for upper-layer drivers to
mark a network device to be opened automatically upon registration,
and do so for the device to which the cached DHCPACK is applied.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/cachedhcp.c
src/include/ipxe/netdevice.h
src/net/netdevice.c