summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/req.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-10 13:11:38 +0300
committerKozlov Dmitry <dima@server>2010-11-10 13:11:38 +0300
commit4d826710d0d30606da88ff3543a4b43521e404df (patch)
tree6c8db87f684e4abb67e72ee64a1d218de9dd4397 /accel-pptpd/radius/req.c
parentb6516bc491fcb7d9344f9cc720e20a5a20f94a32 (diff)
downloadaccel-ppp-xebd-4d826710d0d30606da88ff3543a4b43521e404df.tar.gz
accel-ppp-xebd-4d826710d0d30606da88ff3543a4b43521e404df.zip
radius: separated interim-verbose option to control verbosity of interim packets send/receive
Diffstat (limited to 'accel-pptpd/radius/req.c')
-rw-r--r--accel-pptpd/radius/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/radius/req.c b/accel-pptpd/radius/req.c
index 9ac741d..e945839 100644
--- a/accel-pptpd/radius/req.c
+++ b/accel-pptpd/radius/req.c
@@ -169,7 +169,7 @@ out_err:
return -1;
}
-int rad_req_send(struct rad_req_t *req)
+int rad_req_send(struct rad_req_t *req, int verbose)
{
if (req->hnd.fd == -1 && make_socket(req))
return -1;
@@ -177,7 +177,7 @@ int rad_req_send(struct rad_req_t *req)
if (!req->pack->buf && rad_packet_build(req->pack, req->RA))
goto out_err;
- if (conf_verbose) {
+ if (verbose) {
log_ppp_info("send ");
rad_packet_print(req->pack, log_ppp_info);
}