summaryrefslogtreecommitdiffstats
path: root/src/usr/autoboot.c
diff options
context:
space:
mode:
authorMichael Brown2010-11-20 18:20:03 +0100
committerMichael Brown2010-11-20 18:20:03 +0100
commit44482851427e26ba6f77485064ef7217b632daac (patch)
tree09103b15661deba88b6d926867404c0487d0122f /src/usr/autoboot.c
parent[vlan] Add support for IEEE 802.1Q VLANs (diff)
downloadipxe-44482851427e26ba6f77485064ef7217b632daac.tar.gz
ipxe-44482851427e26ba6f77485064ef7217b632daac.tar.xz
ipxe-44482851427e26ba6f77485064ef7217b632daac.zip
[autoboot] Add "netboot" command
Originally-implemented-by: michael-dev@fami-braun.de Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r--src/usr/autoboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 4e8db60e..d87e3627 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -220,7 +220,7 @@ int boot_root_path ( const char *root_path ) {
* @v netdev Network device
* @ret rc Return status code
*/
-static int netboot ( struct net_device *netdev ) {
+int netboot ( struct net_device *netdev ) {
struct setting vendor_class_id_setting
= { .tag = DHCP_VENDOR_CLASS_ID };
struct setting pxe_discovery_control_setting