On 2015/03/09 16:21, Mike Belopuhov wrote: > index de23248..d7f59de 100644 > --- sys/netinet6/nd6_rtr.c > +++ sys/netinet6/nd6_rtr.c > @@ -1374,16 +1374,17 @@ prelist_update(struct nd_prefix *new, struct > nd_defrouter *dr, struct mbuf *m) > ia6->ia6_lifetime = lt6_tmp; > ia6->ia6_updatetime = time_second; > } > > if ((!autoconf || ((ifp->if_xflags & IFXF_INET6_NOPRIVACY) == 0 && > - !tempaddr_preferred)) && new->ndpr_vltime != 0 && > + !tempaddr_preferred)) &&
whitespace nit here (5 char indent), otherwise OK > + new->ndpr_vltime != 0 && new->ndpr_pltime != 0 && > !((ifp->if_xflags & IFXF_INET6_NOPRIVACY) && statique)) { > /* > * There is no SLAAC address and/or there is no preferred RFC > - * 4941 temporary address. And the valid prefix lifetime is > - * non-zero. And there is no static address in the same prefix. > + * 4941 temporary address. And prefix lifetimes are non-zero. > + * And there is no static address in the same prefix. > * Create new addresses in process context. > * Increment prefix refcount to ensure the prefix is not > * removed before the task is done. > */ > pr->ndpr_refcnt++; >