projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
40c19d2
)
Fix cluster slave; no add the ipv6 route address (/128) if included in the delegated...
author
fendo
<fendo@bi12info.com>
Fri, 12 Sep 2014 16:21:26 +0000
(18:21 +0200)
committer
fendo
<fendo@bi12info.com>
Fri, 12 Sep 2014 16:21:26 +0000
(18:21 +0200)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
07a45f7
..
390f564
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-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