diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2020-01-10 05:29:14 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2020-01-10 05:42:16 +0500 |
commit | 8c9c91764069d3f6d3122c7897b05b0b93024246 (patch) | |
tree | cc6461cd7a5fcd2189d78dd33b9afae39e0146dd /accel-pppd/session.c | |
parent | 385349450d42f6e1b92e08cabe97ed52cb740fab (diff) | |
download | accel-ppp-8c9c91764069d3f6d3122c7897b05b0b93024246.tar.gz accel-ppp-8c9c91764069d3f6d3122c7897b05b0b93024246.zip |
ipv6pool/radius: implement named ipv6 pools
default stateful ipv6 address & prefix radius attrs are per-rfc6911:
171 Delegated-IPv6-Prefix-Pool
172 Stateful-IPv6-Address-Pool
the single pool name from chap-secret file pool is shared for
ipv4/ipv6/ipv6 dp, new config syntax TBD.
per-proto pool names are still for ipv4 only, new config syntax TBD.
Diffstat (limited to 'accel-pppd/session.c')
-rw-r--r-- | accel-pppd/session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/accel-pppd/session.c b/accel-pppd/session.c index bf7d712a..8326ffa7 100644 --- a/accel-pppd/session.c +++ b/accel-pppd/session.c @@ -239,6 +239,11 @@ void __export ap_session_finished(struct ap_session *ses) ses->ipv6_pool_name = NULL; } + if (ses->ipv6_dppool_name) { + _free(ses->ipv6_dppool_name); + ses->ipv6_dppool_name = NULL; + } + if (ses->ifname_rename) { _free(ses->ifname_rename); ses->ifname_rename = NULL; |