mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-15 10:39:35 +00:00
Don't cap prefx lifetimes below RA retransmit interval.
This commit is contained in:
1 parent
81e84f8dac
commit
7f035f58c6
1 file changed
+7
-3
+7
-3
@@ -373,10 +373,14 @@ static int add_prefixes(struct in6_addr *local, int prefix,
|
||||
param->other = 1;
|
||||
}
|
||||
|
||||
/* find floor time */
|
||||
/* find floor time, don't reduce below RA interval. */
|
||||
if (time > context->lease_time)
|
||||
time = context->lease_time;
|
||||
|
||||
{
|
||||
time = context->lease_time;
|
||||
if (time < 600u)
|
||||
time = 600;
|
||||
}
|
||||
|
||||
if (context->flags & CONTEXT_DEPRECATE)
|
||||
deprecate = 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user