소스 검색

patch of Helge Wagner

tags/v0.9.3
Geert Stappers 19 년 전
부모
커밋
5265975334
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/core/nic.c

+ 1
- 1
src/core/nic.c 파일 보기

@@ -740,7 +740,7 @@ static int bootp(void)
740 740
 		remaining_time = rfc2131_sleep_interval(BOOTP_TIMEOUT, retry++);
741 741
 		stop_time = currticks() + remaining_time;
742 742
 #ifdef	NO_DHCP_SUPPORT
743
-		if (await_reply(await_bootp, 0, NULL, timeout))
743
+		if (await_reply(await_bootp, 0, NULL, remaining_time))
744 744
 			return(1);
745 745
 #else
746 746
 		while ( remaining_time > 0 ) {

Loading…
취소
저장