summaryrefslogtreecommitdiffstats
path: root/src/usr/autoboot.c
diff options
context:
space:
mode:
authorMichael Brown2007-01-10 21:38:20 +0100
committerMichael Brown2007-01-10 21:38:20 +0100
commitd9ba8f790b2b0ad7e22b96e46dc5e0946815e512 (patch)
tree21c185a7baf98f25fc00b2803b90903926e0f0df /src/usr/autoboot.c
parentTry booting from the "boot" network device first (i.e. the one which we (diff)
downloadipxe-d9ba8f790b2b0ad7e22b96e46dc5e0946815e512.tar.gz
ipxe-d9ba8f790b2b0ad7e22b96e46dc5e0946815e512.tar.xz
ipxe-d9ba8f790b2b0ad7e22b96e46dc5e0946815e512.zip
Add route() function to display routing table.
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r--src/usr/autoboot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 45b3b6e7..97024ee3 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -21,6 +21,7 @@
#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <usr/ifmgmt.h>
+#include <usr/route.h>
#include <usr/autoboot.h>
/** @file
@@ -81,6 +82,8 @@ void netboot ( struct net_device *netdev ) {
ifstat ( netdev );
test_dhcp ( netdev );
+
+ route();
}
/**