diff options
author | Aleksey Zhukov <drdaeman@drdaeman.pp.ru> | 2012-12-26 01:34:39 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-12-26 01:34:39 +0400 |
commit | d16b78813da8b69aafd13ca5086850a5d27a871e (patch) | |
tree | 142953ef9bd68ac38dfaa813c847278f6ba5fca5 /accel-pppd | |
parent | 98466f59d258d2079755d2a1808cd34631d9f230 (diff) | |
download | accel-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.c | 2 |
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; |