mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 18:28:25 +00:00
Don't cap prefx lifetimes below RA retransmit interval.
This commit is contained in:
@@ -373,9 +373,13 @@ static int add_prefixes(struct in6_addr *local, int prefix,
|
|||||||
param->other = 1;
|
param->other = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* find floor time */
|
/* find floor time, don't reduce below RA interval. */
|
||||||
if (time > context->lease_time)
|
if (time > context->lease_time)
|
||||||
|
{
|
||||||
time = context->lease_time;
|
time = context->lease_time;
|
||||||
|
if (time < 600u)
|
||||||
|
time = 600;
|
||||||
|
}
|
||||||
|
|
||||||
if (context->flags & CONTEXT_DEPRECATE)
|
if (context->flags & CONTEXT_DEPRECATE)
|
||||||
deprecate = 1;
|
deprecate = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user