mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Don't set a zero timeout for a lease. Zero here is taken to mean infinite.
svn path=/trunk/; revision=14653
This commit is contained in:
parent
45d0cf852c
commit
ddc52fc76c
1 changed files with 5 additions and 1 deletions
|
@ -682,6 +682,10 @@ bind_lease(struct interface_info *ip)
|
||||||
ip->client->new = NULL;
|
ip->client->new = NULL;
|
||||||
|
|
||||||
/* Set up a timeout to start the renewal process. */
|
/* Set up a timeout to start the renewal process. */
|
||||||
|
/* Timeout of zero means no timeout (some implementations seem to use
|
||||||
|
* one day).
|
||||||
|
*/
|
||||||
|
if( ip->client->active->renewal )
|
||||||
add_timeout(ip->client->active->renewal, state_bound, ip);
|
add_timeout(ip->client->active->renewal, state_bound, ip);
|
||||||
|
|
||||||
note("bound to %s -- renewal in %d seconds.",
|
note("bound to %s -- renewal in %d seconds.",
|
||||||
|
|
Loading…
Reference in a new issue