mirror of
https://github.com/xcat2/xNBA.git
synced 2025-02-24 06:19:53 +00:00
[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:
parent
f2bc138391
commit
759dcf5a9b
@ -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,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user