diff options
Diffstat (limited to 'accel-pptpd/radius/req.c')
-rw-r--r-- | accel-pptpd/radius/req.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pptpd/radius/req.c b/accel-pptpd/radius/req.c index c6687d39..1941321d 100644 --- a/accel-pptpd/radius/req.c +++ b/accel-pptpd/radius/req.c @@ -85,10 +85,10 @@ int rad_req_acct_fill(struct rad_req_t *req) memset(req->RA, 0, sizeof(req->RA)); - if (rad_packet_add_val(req->pack, "Acct-Authentic", "RADIUS")) - return -1; if (rad_packet_add_val(req->pack, "Acct-Status-Type", "Start")) return -1; + if (rad_packet_add_val(req->pack, "Acct-Authentic", "RADIUS")) + return -1; if (rad_packet_add_str(req->pack, "Acct-Session-Id", req->rpd->ppp->sessionid, PPP_SESSIONID_LEN)) return -1; if (rad_packet_add_int(req->pack, "Acct-Session-Time", 0)) @@ -105,6 +105,8 @@ int rad_req_acct_fill(struct rad_req_t *req) return -1; if (rad_packet_add_int(req->pack, "Acct-Output-Gigawords", 0)) return -1; + if (rad_packet_add_int(req->pack, "Acct-Delay-Time", 0)) + return -1; if (rad_packet_add_ipaddr(req->pack, "Framed-IP-Address", req->rpd->ppp->peer_ipaddr)) return -1; |