summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/auth.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-08-15 22:42:45 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-08-15 22:42:45 +0400
commit1289f64ef117e7fd2986bd42766e8a173bf06c6d (patch)
treecec41930741781545c8227e87bcc8eb91c6a45a1 /accel-pppd/radius/auth.c
parent8406ea98f48b7e7c4c6f2067af768e5994fe70ca (diff)
downloadaccel-ppp-1289f64ef117e7fd2986bd42766e8a173bf06c6d.tar.gz
accel-ppp-1289f64ef117e7fd2986bd42766e8a173bf06c6d.zip
radius: implemented sending Account-Request with Acct-Status-Type=Accounting-On on startup and Acct-Status-Type=Accounting-Off on shutdown
Diffstat (limited to 'accel-pppd/radius/auth.c')
-rw-r--r--accel-pppd/radius/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/radius/auth.c b/accel-pppd/radius/auth.c
index dafc8d6..37b7291 100644
--- a/accel-pppd/radius/auth.c
+++ b/accel-pppd/radius/auth.c
@@ -161,7 +161,7 @@ static int rad_auth_send(struct rad_req_t *req)
for(i = 0; i < conf_max_try; i++) {
__sync_add_and_fetch(&req->serv->stat_auth_sent, 1);
clock_gettime(CLOCK_MONOTONIC, &tv);
- if (rad_req_send(req, conf_verbose))
+ if (rad_req_send(req, conf_verbose ? log_ppp_info1 : NULL))
goto out;
timeout = conf_timeout;