diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-08-29 11:40:34 +0400 |
commit | 28df233a46f2d136e8169d86ee62861a7c024eff (patch) | |
tree | a8d1131645c7f09fa276208895b31a5b3b2467bc /accel-pppd/radius/req.c | |
parent | 1872dd97822f406a2d54bd75ed8220092ec5d4fb (diff) | |
download | accel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.tar.gz accel-ppp-28df233a46f2d136e8169d86ee62861a7c024eff.zip |
add 'ppp' filed to CTRL to identify ppp sessions
Diffstat (limited to 'accel-pppd/radius/req.c')
-rw-r--r-- | accel-pppd/radius/req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/req.c b/accel-pppd/radius/req.c index cd9a170b..a93c12e1 100644 --- a/accel-pppd/radius/req.c +++ b/accel-pppd/radius/req.c @@ -29,7 +29,7 @@ static struct rad_req_t *__rad_req_alloc(struct radius_pd_t *rpd, int code, cons return NULL; } - if (rpd->ses->ctrl->type != CTRL_TYPE_IPOE) + if (rpd->ses->ctrl->ppp) ppp = container_of(rpd->ses, typeof(*ppp), ses); memset(req, 0, sizeof(*req)); |