Fix: remove old IPV6 routes on master
This commit is contained in:
parent
6b70732490
commit
786a8c4546
2 changed files with 10 additions and 4 deletions
10
debian/changelog
vendored
10
debian/changelog
vendored
|
|
@ -1,4 +1,10 @@
|
|||
l2tpns (2.2.1-2fdn3.11) UNRELEASED; urgency=low
|
||||
l2tpns (2.2.1-2fdn3.12) UNRELEASED; urgency=low
|
||||
|
||||
* Fix: remove old IPV6 routes on master
|
||||
|
||||
-- Fernando Alves <fendo@sameswifi.fr> Tue, 10 Dec 2013 23:13:20 +0100
|
||||
|
||||
l2tpns (2.2.1-2fdn3.11) unstable; urgency=low
|
||||
|
||||
* Fix: throttle ipv6 out.
|
||||
* Fix: remove old IPV6 routes on slave
|
||||
|
|
@ -13,7 +19,7 @@ l2tpns (2.2.1-2fdn3.11) UNRELEASED; urgency=low
|
|||
* Add build-arch/build-indep targets to debian/rules
|
||||
* Fix: compiling Warning
|
||||
|
||||
-- Fernando Alves <fernando.alves@sameswireless.fr> Sun, 06 Oct 2013 10:38:53 +0200
|
||||
-- Fernando Alves <fendo@sameswifi.fr> Tue, 10 Dec 2013 23:08:45 +0100
|
||||
|
||||
l2tpns (2.2.1-2fdn3.10) unstable; urgency=low
|
||||
|
||||
|
|
|
|||
2
l2tpns.c
2
l2tpns.c
|
|
@ -2120,7 +2120,7 @@ void sessionshutdown(sessionidt s, char const *reason, int cdn_result, int cdn_e
|
|||
free_ip_address(s);
|
||||
|
||||
// unroute IPv6, if setup
|
||||
if (session[s].ppp.ipv6cp == Opened && session[s].ipv6prefixlen && del_routes)
|
||||
if (session[s].ipv6route.s6_addr[0] && session[s].ipv6prefixlen && del_routes)
|
||||
route6set(s, session[s].ipv6route, session[s].ipv6prefixlen, 0);
|
||||
|
||||
if (b)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue