From 526597533418400e78b2f0943016a3684e767a50 Mon Sep 17 00:00:00 2001 From: Geert Stappers Date: Tue, 31 May 2005 11:32:45 +0000 Subject: [PATCH] patch of Helge Wagner --- src/core/nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/nic.c b/src/core/nic.c index 3909f548..5b857fdd 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 ) {