summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2011-12-27 12:23:09 +0400
committerKozlov Dmitry <xeb@mail.ru>2011-12-27 12:23:09 +0400
commit8f8c2e0deb97d434cee9a03ac7411ee9e37ac542 (patch)
tree3d4fdb49a73fb24efe44e2d76c9bb1de5f95f38f /accel-pppd/radius
parentee41cba691ab9f6461f4933461cf82be161333de (diff)
downloadaccel-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.c6
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;
}
}