http://git.etherboot.org
/
etherboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96cbbd
)
Fix for NO_DHCP_SUPPORT contributed by Helge Wagner <HWagner@sbs.com>
author
mcb30
<mcb30>
Tue, 31 May 2005 10:13:09 +0000
(10:13 +0000)
committer
mcb30
<mcb30>
Tue, 31 May 2005 10:13:09 +0000
(10:13 +0000)
src/core/nic.c
patch
|
blob
|
history
diff --git
a/src/core/nic.c
b/src/core/nic.c
index
44f80c3
..
64f9d27
100644
(file)
--- a/
src/core/nic.c
+++ b/
src/core/nic.c
@@
-967,7
+967,7
@@
static int bootp(void)
remaining_time = rfc2131_sleep_interval(BOOTP_TIMEOUT, retry++);
stop_time = currticks() + remaining_time;
#ifdef NO_DHCP_SUPPORT
- if (await_reply(await_bootp, 0, NULL,
timeout
))
+ if (await_reply(await_bootp, 0, NULL,
remaining_time
))
return(1);
#else
while ( remaining_time > 0 ) {