|
@@ -38,7 +38,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
38
|
38
|
#include <ipxe/timer.h>
|
39
|
39
|
#include <usr/ifmgmt.h>
|
40
|
40
|
#include <usr/route.h>
|
41
|
|
-#include <usr/dhcpmgmt.h>
|
42
|
41
|
#include <usr/imgmgmt.h>
|
43
|
42
|
#include <usr/prompt.h>
|
44
|
43
|
#include <usr/autoboot.h>
|
|
@@ -365,8 +364,8 @@ int netboot ( struct net_device *netdev ) {
|
365
|
364
|
goto err_ifopen;
|
366
|
365
|
ifstat ( netdev );
|
367
|
366
|
|
368
|
|
- /* Configure device via DHCP */
|
369
|
|
- if ( ( rc = dhcp ( netdev ) ) != 0 )
|
|
367
|
+ /* Configure device */
|
|
368
|
+ if ( ( rc = ifconf ( netdev, NULL ) ) != 0 )
|
370
|
369
|
goto err_dhcp;
|
371
|
370
|
route();
|
372
|
371
|
|