diff options
Diffstat (limited to 'accel-pptpd/radius/req.c')
-rw-r--r-- | accel-pptpd/radius/req.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/radius/req.c b/accel-pptpd/radius/req.c index a1156c3c..f92d1224 100644 --- a/accel-pptpd/radius/req.c +++ b/accel-pptpd/radius/req.c @@ -70,8 +70,8 @@ struct rad_req_t *rad_req_alloc(struct radius_pd_t *rpd, int code, const char *u if (rpd->ppp->ctrl->called_station_id) if (rad_packet_add_str(req->pack, "Called-Station-Id", rpd->ppp->ctrl->called_station_id, strlen(rpd->ppp->ctrl->called_station_id))) goto out_err; - if (rpd->class) - if (rad_packet_add_octets(req->pack, "Class", rpd->class, rpd->class_len)) + if (rpd->attr_class) + if (rad_packet_add_octets(req->pack, "Class", rpd->attr_class, rpd->attr_class_len)) goto out_err; return req; |