From c48170ffaf32458d0646567488d5b0f58750704a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 11 Aug 2006 18:49:58 +0000 Subject: [PATCH] Print net device name when making request. --- src/tests/dhcptest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 38bbac37..15e39c8b 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -4,6 +4,7 @@ #include #include #include +#include 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 ) {