summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/req.c
diff options
context:
space:
mode:
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 9ac741de..e9458391 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);
}