|
@@ -4,6 +4,7 @@
|
4
|
4
|
#include <gpxe/ip.h>
|
5
|
5
|
#include <gpxe/dhcp.h>
|
6
|
6
|
#include <gpxe/iscsi.h>
|
|
7
|
+#include <gpxe/netdevice.h>
|
7
|
8
|
|
8
|
9
|
static int test_dhcp_aoe_boot ( struct net_device *netdev,
|
9
|
10
|
char *aoename ) {
|
|
@@ -120,7 +121,7 @@ int test_dhcp ( struct net_device *netdev ) {
|
120
|
121
|
goto out_no_del_ipv4;
|
121
|
122
|
|
122
|
123
|
/* Issue DHCP request */
|
123
|
|
- printf ( "DHCP..." );
|
|
124
|
+ printf ( "DHCP (%s)...", netdev_name ( netdev ) );
|
124
|
125
|
memset ( &dhcp, 0, sizeof ( dhcp ) );
|
125
|
126
|
dhcp.netdev = netdev;
|
126
|
127
|
if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) {
|