summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeert Stappers2005-05-31 13:32:45 +0200
committerGeert Stappers2005-05-31 13:32:45 +0200
commit526597533418400e78b2f0943016a3684e767a50 (patch)
treef959e33ac759a631d0620df316a669d0bd81e632 /src
parentDocumented remainder of PXE TFTP API calls. (diff)
downloadipxe-526597533418400e78b2f0943016a3684e767a50.tar.gz
ipxe-526597533418400e78b2f0943016a3684e767a50.tar.xz
ipxe-526597533418400e78b2f0943016a3684e767a50.zip
patch of Helge Wagner
Diffstat (limited to 'src')
-rw-r--r--src/core/nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/nic.c b/src/core/nic.c
index 3909f5489..5b857fddf 100644
--- a/src/core/nic.c
+++ b/src/core/nic.c
@@ -740,7 +740,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 ) {