david/ipxe
Archived
1
0

[dhcp] Add DHCP network device configurator

Provide an interface to DHCP via the generic network device
configurator mechanism.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2013-10-31 15:44:39 +00:00
parent f2bc138391
commit 759dcf5a9b

View File

@ -1471,3 +1471,9 @@ int start_pxebs ( struct interface *job, struct net_device *netdev,
ref_put ( &dhcp->refcnt );
return rc;
}
/** DHCP network device configurator */
struct net_device_configurator dhcp_configurator __net_device_configurator = {
.name = "dhcp",
.start = start_dhcp,
};