diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2011-12-27 12:23:09 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2011-12-27 12:23:09 +0400 |
commit | 8f8c2e0deb97d434cee9a03ac7411ee9e37ac542 (patch) | |
tree | 3d4fdb49a73fb24efe44e2d76c9bb1de5f95f38f /accel-pppd/radius | |
parent | ee41cba691ab9f6461f4933461cf82be161333de (diff) | |
download | accel-ppp-8f8c2e0deb97d434cee9a03ac7411ee9e37ac542.tar.gz accel-ppp-8f8c2e0deb97d434cee9a03ac7411ee9e37ac542.zip |
radius, ippool: implemented Framed-Pool attribute
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/radius.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/accel-pppd/radius/radius.c b/accel-pppd/radius/radius.c index 15e5e689..370572ab 100644 --- a/accel-pppd/radius/radius.c +++ b/accel-pppd/radius/radius.c @@ -113,6 +113,12 @@ int rad_proc_attrs(struct rad_req_t *req) a->addr = attr->val.ipv6prefix.prefix; list_add_tail(&a->entry, &req->rpd->ipv6_dp.prefix_list); break; + case Framed_Pool: + req->rpd->ppp->ipv4_pool_name = _strdup(attr->val.string); + break; + case Framed_IPv6_Pool: + req->rpd->ppp->ipv6_pool_name = _strdup(attr->val.string); + break; } } |