http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c0982
)
Typo
author
Michael Brown
<mcb30@etherboot.org>
Tue, 12 Dec 2006 16:18:42 +0000
(16:18 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 12 Dec 2006 16:18:42 +0000
(16:18 +0000)
src/tests/dhcptest.c
patch
|
blob
|
history
diff --git
a/src/tests/dhcptest.c
b/src/tests/dhcptest.c
index
827d02c
..
25038e5
100644
(file)
--- 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 ) );