david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Print net device name when making request.

This commit is contained in:
Michael Brown 2006-08-11 18:49:58 +00:00
parent 3c35a0b16d
commit c48170ffaf
1 changed files with 2 additions and 1 deletions

View File

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