diff options
| author | Michael Brown | 2006-07-20 16:20:11 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-07-20 16:20:11 +0200 |
| commit | 9e761f5f282407868f89bceed0d50749032e3b1b (patch) | |
| tree | 3e2eed271a550f11e0e6c836baf3d922a885881a /src/tests | |
| parent | Allow an AoE boot to be directed via DHCP, so that we have a proof of (diff) | |
| download | ipxe-9e761f5f282407868f89bceed0d50749032e3b1b.tar.gz ipxe-9e761f5f282407868f89bceed0d50749032e3b1b.tar.xz ipxe-9e761f5f282407868f89bceed0d50749032e3b1b.zip | |
Print out "DHCP..." message just in case people think the demo is sitting
there doing nothing when it's actually waiting for a DHCP reply.
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/dhcptest.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index d1d7df0f3..3661d66fa 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -18,10 +18,14 @@ int test_dhcp ( struct net_device *netdev ) { goto out_no_del_ipv4; /* Issue DHCP request */ + printf ( "DHCP..." ); memset ( &dhcp, 0, sizeof ( dhcp ) ); dhcp.netdev = netdev; - if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) + if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) { + printf ( "failed\n" ); goto out_no_options; + } + printf ( "done\n" ); /* Register options received via DHCP */ register_dhcp_options ( dhcp.options ); |
