Fix cluster slave; no add the ipv6 route address (/128) if included in the delegated prefix.

This commit is contained in:
fendo 2014-09-12 18:21:26 +02:00
parent 40c19d29ab
commit 2a385573a6

View file

@ -5893,7 +5893,9 @@ int load_session(sessionidt s, sessiont *new)
if (new->ipv6address.s6_addr[0] && new->ppp.ipv6cp == Opened && session[s].ppp.ipv6cp != Opened)
{
route6set(s, new->ipv6address, 128, 1);
// Check if included in prefix
if (sessionbyipv6(new->ipv6address) != s)
route6set(s, new->ipv6address, 128, 1);
}
// check filters