Commit 7f035f58 authored by Simon Kelley's avatar Simon Kelley

Don't cap prefx lifetimes below RA retransmit interval.

parent 81e84f8d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment