|
@@ -18,10 +18,14 @@ int test_dhcp ( struct net_device *netdev ) {
|
18
|
18
|
goto out_no_del_ipv4;
|
19
|
19
|
|
20
|
20
|
/* Issue DHCP request */
|
|
21
|
+ printf ( "DHCP..." );
|
21
|
22
|
memset ( &dhcp, 0, sizeof ( dhcp ) );
|
22
|
23
|
dhcp.netdev = netdev;
|
23
|
|
- if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 )
|
|
24
|
+ if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) {
|
|
25
|
+ printf ( "failed\n" );
|
24
|
26
|
goto out_no_options;
|
|
27
|
+ }
|
|
28
|
+ printf ( "done\n" );
|
25
|
29
|
|
26
|
30
|
/* Register options received via DHCP */
|
27
|
31
|
register_dhcp_options ( dhcp.options );
|