summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2006-12-06 00:26:07 +0100
committerMichael Brown2006-12-06 00:26:07 +0100
commitd88832ad7eb4feb98f0891661085399b6ba63934 (patch)
tree97adf214e220fad541207b112c6e24cc5866956e /src/tests
parentWork around another instance of the port re-use bug. (diff)
downloadipxe-d88832ad7eb4feb98f0891661085399b6ba63934.tar.gz
ipxe-d88832ad7eb4feb98f0891661085399b6ba63934.tar.xz
ipxe-d88832ad7eb4feb98f0891661085399b6ba63934.zip
Support PXE and iSCSI by default
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/dhcptest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c
index a315de09..a38584d3 100644
--- a/src/tests/dhcptest.c
+++ b/src/tests/dhcptest.c
@@ -143,9 +143,11 @@ static int test_dhcp_boot ( struct net_device *netdev, char *filename ) {
if ( strncmp ( filename, "iscsi:", 6 ) == 0 ) {
return test_dhcp_iscsi_boot ( netdev, &filename[6] );
}
+ /*
if ( strncmp ( filename, "ftp:", 4 ) == 0 ) {
return test_dhcp_ftp ( netdev, &filename[4] );
}
+ */
/*
if ( strncmp ( filename, "hello:", 6 ) == 0 ) {
return test_dhcp_hello ( &filename[6] );
@@ -153,8 +155,9 @@ static int test_dhcp_boot ( struct net_device *netdev, char *filename ) {
if ( strncmp ( filename, "http:", 5 ) == 0 ) {
return test_dhcp_http ( netdev, filename );
}
- return test_dhcp_tftp ( netdev, filename );
*/
+ return test_dhcp_tftp ( netdev, filename );
+
return -EPROTONOSUPPORT;
}