http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c35a0b
)
Print net device name when making request.
author
Michael Brown
<mcb30@etherboot.org>
Fri, 11 Aug 2006 18:49:58 +0000
(18:49 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 11 Aug 2006 18:49:58 +0000
(18:49 +0000)
src/tests/dhcptest.c
patch
|
blob
|
history
diff --git
a/src/tests/dhcptest.c
b/src/tests/dhcptest.c
index
38bbac3
..
15e39c8
100644
(file)
--- a/
src/tests/dhcptest.c
+++ b/
src/tests/dhcptest.c
@@
-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 ) {