From 98b6154c3ea76121e942cb14765f05ecd7d7911c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jan 2007 23:48:18 +0000 Subject: Add "name" field to network device, to facilitate netdev commands. --- src/tests/aoeboot.c | 2 +- src/tests/dhcptest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/aoeboot.c b/src/tests/aoeboot.c index e585731ac..9d3013b24 100644 --- a/src/tests/aoeboot.c +++ b/src/tests/aoeboot.c @@ -36,7 +36,7 @@ int test_aoeboot ( struct net_device *netdev, const char *aoename, int rc; printf ( "Attempting to boot from AoE device %s via %s\n", - aoename, netdev_name ( netdev ) ); + aoename, netdev->name ); if ( ( rc = aoe_parse ( aoename, &test_aoedev.aoe ) ) != 0 ) { printf ( "Invalid AoE device name \"%s\"\n", aoename ); diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 19949ab0e..d6b199270 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -224,7 +224,7 @@ int test_dhcp ( struct net_device *netdev ) { goto out_no_del_ipv4; /* Issue DHCP request */ - printf ( "DHCP (%s)...", netdev_name ( netdev ) ); + printf ( "DHCP (%s)...", netdev->name ); memset ( &dhcp, 0, sizeof ( dhcp ) ); dhcp.netdev = netdev; if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) { -- cgit v1.2.3-55-g7522