Browse Source

Support PXE and iSCSI by default

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
d88832ad7e
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/tests/dhcptest.c

+ 4
- 1
src/tests/dhcptest.c View File

143
 	if ( strncmp ( filename, "iscsi:", 6 ) == 0 ) {
143
 	if ( strncmp ( filename, "iscsi:", 6 ) == 0 ) {
144
 		return test_dhcp_iscsi_boot ( netdev, &filename[6] );
144
 		return test_dhcp_iscsi_boot ( netdev, &filename[6] );
145
 	}
145
 	}
146
+	/*
146
 	if ( strncmp ( filename, "ftp:", 4 ) == 0 ) {
147
 	if ( strncmp ( filename, "ftp:", 4 ) == 0 ) {
147
 		return test_dhcp_ftp ( netdev, &filename[4] );
148
 		return test_dhcp_ftp ( netdev, &filename[4] );
148
 	}
149
 	}
150
+	*/
149
 	/*
151
 	/*
150
 	if ( strncmp ( filename, "hello:", 6 ) == 0 ) {
152
 	if ( strncmp ( filename, "hello:", 6 ) == 0 ) {
151
 		return test_dhcp_hello ( &filename[6] );
153
 		return test_dhcp_hello ( &filename[6] );
153
 	if ( strncmp ( filename, "http:", 5 ) == 0 ) {
155
 	if ( strncmp ( filename, "http:", 5 ) == 0 ) {
154
 		return test_dhcp_http ( netdev, filename );
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
 	return -EPROTONOSUPPORT;
161
 	return -EPROTONOSUPPORT;
159
 }
162
 }
160
 
163
 

Loading…
Cancel
Save