diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c index 276fb3db..6d6419d6 100644 --- a/src/usr/autoboot.c +++ b/src/usr/autoboot.c @@ -38,7 +38,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include #include #include -#include #include #include #include @@ -365,8 +364,8 @@ int netboot ( struct net_device *netdev ) { goto err_ifopen; ifstat ( netdev ); - /* Configure device via DHCP */ - if ( ( rc = dhcp ( netdev ) ) != 0 ) + /* Configure device */ + if ( ( rc = ifconf ( netdev, NULL ) ) != 0 ) goto err_dhcp; route();