Bläddra i källkod

Support PXE and iSCSI by default

tags/v0.9.3
Michael Brown 18 år sedan
förälder
incheckning
d88832ad7e
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4
    1
      src/tests/dhcptest.c

+ 4
- 1
src/tests/dhcptest.c Visa fil

@@ -143,9 +143,11 @@ static int test_dhcp_boot ( struct net_device *netdev, char *filename ) {
143 143
 	if ( strncmp ( filename, "iscsi:", 6 ) == 0 ) {
144 144
 		return test_dhcp_iscsi_boot ( netdev, &filename[6] );
145 145
 	}
146
+	/*
146 147
 	if ( strncmp ( filename, "ftp:", 4 ) == 0 ) {
147 148
 		return test_dhcp_ftp ( netdev, &filename[4] );
148 149
 	}
150
+	*/
149 151
 	/*
150 152
 	if ( strncmp ( filename, "hello:", 6 ) == 0 ) {
151 153
 		return test_dhcp_hello ( &filename[6] );
@@ -153,8 +155,9 @@ static int test_dhcp_boot ( struct net_device *netdev, char *filename ) {
153 155
 	if ( strncmp ( filename, "http:", 5 ) == 0 ) {
154 156
 		return test_dhcp_http ( netdev, filename );
155 157
 	}
156
-	return test_dhcp_tftp ( netdev, filename );
157 158
 	*/
159
+	return test_dhcp_tftp ( netdev, filename );
160
+
158 161
 	return -EPROTONOSUPPORT;
159 162
 }
160 163
 

Laddar…
Avbryt
Spara