diff options
| author | Michael Brown | 2006-12-12 17:18:42 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-12 17:18:42 +0100 |
| commit | c0ec119edeb0d12998f462a80e93fc475dba9668 (patch) | |
| tree | 0910546df1d4d2ff17b120d15e32e3d7261e4126 /src/tests/dhcptest.c | |
| parent | Request all the options that we're prepared to do anything with. (diff) | |
| download | ipxe-c0ec119edeb0d12998f462a80e93fc475dba9668.tar.gz ipxe-c0ec119edeb0d12998f462a80e93fc475dba9668.tar.xz ipxe-c0ec119edeb0d12998f462a80e93fc475dba9668.zip | |
Typo
Diffstat (limited to 'src/tests/dhcptest.c')
| -rw-r--r-- | src/tests/dhcptest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 827d02cb2..25038e579 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -82,9 +82,9 @@ static int test_dhcp_iscsi_boot ( struct net_device *netdev ) { lun = strtoul ( rp_components[RP_LUN], NULL, 0 ); - dhcp_snprintf ( initiator_iqn, sizeof ( initiator_iqn ), + dhcp_snprintf ( initiator_iqn_buf, sizeof ( initiator_iqn_buf ), find_global_dhcp_option ( DHCP_ISCSI_INITIATOR_IQN ) ); - if ( ! *initiator_iqn ) + if ( ! initiator_iqn_buf[0] ) initiator_iqn = "iqn.1900-01.localdomain.localhost:initiator"; dhcp_snprintf ( username, sizeof ( username ), find_global_dhcp_option ( DHCP_EB_USERNAME ) ); |
