diff options
| author | Geert Stappers | 2005-05-31 13:32:45 +0200 |
|---|---|---|
| committer | Geert Stappers | 2005-05-31 13:32:45 +0200 |
| commit | 526597533418400e78b2f0943016a3684e767a50 (patch) | |
| tree | f959e33ac759a631d0620df316a669d0bd81e632 /src | |
| parent | Documented remainder of PXE TFTP API calls. (diff) | |
| download | ipxe-526597533418400e78b2f0943016a3684e767a50.tar.gz ipxe-526597533418400e78b2f0943016a3684e767a50.tar.xz ipxe-526597533418400e78b2f0943016a3684e767a50.zip | |
patch of Helge Wagner
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/nic.c | 2 |
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 ) { |
