"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/radv.c" between
dnsmasq-2.81.tar.xz and dnsmasq-2.82.tar.xz

About: Dnsmasq is a lightweight caching DNS forwarder and DHCP server.

radv.c  (dnsmasq-2.81.tar.xz):radv.c  (dnsmasq-2.82.tar.xz)
skipping to change at line 627 skipping to change at line 627
/* Configured to advertise router address, not prefix. See RFC 37 75 7.2 /* Configured to advertise router address, not prefix. See RFC 37 75 7.2
In this case we do all addresses associated with a context, In this case we do all addresses associated with a context,
hence the real_prefix setting here. */ hence the real_prefix setting here. */
if (context->flags & CONTEXT_RA_ROUTER) if (context->flags & CONTEXT_RA_ROUTER)
{ {
adv_router = 1; adv_router = 1;
param->adv_router = 1; param->adv_router = 1;
real_prefix = context->prefix; real_prefix = context->prefix;
} }
/* find floor time, don't reduce below 3 * RA interval. */ /* find floor time, don't reduce below 3 * RA interval.
if (time > context->lease_time) If the lease time has been left as default, don't
use that as a floor. */
if ((context->flags & CONTEXT_SETLEASE) &&
time > context->lease_time)
{ {
time = context->lease_time; time = context->lease_time;
if (time < ((unsigned int)(3 * param->adv_interval))) if (time < ((unsigned int)(3 * param->adv_interval)))
time = 3 * param->adv_interval; time = 3 * param->adv_interval;
} }
if (context->flags & CONTEXT_DEPRECATE) if (context->flags & CONTEXT_DEPRECATE)
deprecate = 1; deprecate = 1;
if (context->flags & CONTEXT_CONSTRUCTED) if (context->flags & CONTEXT_CONSTRUCTED)
 End of changes. 1 change blocks. 
2 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)