projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4e05b9
)
Fix: remove old IPV6 routes on slave
author
fendo
<fendo@bi12info.com>
Sat, 21 Sep 2013 10:51:32 +0000
(12:51 +0200)
committer
fendo
<fendo@bi12info.com>
Sat, 21 Sep 2013 10:51:32 +0000
(12:51 +0200)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
57ede3d
..
0167184
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-5809,6
+5809,10
@@
int load_session(sessionidt s, sessiont *new)
uncache_ipmap(session[s].ip);
}
+ // remove old IPV6 routes...
+ if (session[s].ipv6route.s6_addr[0] && session[s].ipv6prefixlen)
+ route6set(s, session[s].ipv6route, session[s].ipv6prefixlen, 0);
+
routed = 0;
// add new routes...