summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorAleksey Zhukov <drdaeman@drdaeman.pp.ru>2012-12-26 01:34:39 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-12-26 01:34:39 +0400
commitd16b78813da8b69aafd13ca5086850a5d27a871e (patch)
tree142953ef9bd68ac38dfaa813c847278f6ba5fca5 /accel-pppd
parent98466f59d258d2079755d2a1808cd34631d9f230 (diff)
downloadaccel-ppp-d16b78813da8b69aafd13ca5086850a5d27a871e.tar.gz
accel-ppp-d16b78813da8b69aafd13ca5086850a5d27a871e.zip
Pass proper pointer to rad_packet_find_attr
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/radius/dm_coa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/dm_coa.c b/accel-pppd/radius/dm_coa.c
index b96f3e0c..807a8b42 100644
--- a/accel-pppd/radius/dm_coa.c
+++ b/accel-pppd/radius/dm_coa.c
@@ -162,7 +162,7 @@ static void coa_request(struct radius_pd_t *rpd)
if (ev.res)
dm_coa_send_nak(serv.hnd.fd, rpd->dm_coa_req, &rpd->dm_coa_addr, 0);
else {
- class = rad_packet_find_attr(rpd->dm_coa_req, NULL, "Class");
+ class = rad_packet_find_attr(rpd->dm_coa_req->pack, NULL, "Class");
if (class) {
prev_class = rpd->attr_class;