summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/radius.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-10-23 16:42:06 +0400
committerDmitry Kozlov <xeb@mail.ru>2014-10-23 16:46:27 +0400
commit90125d7cad59c2c47e1a5765261af4a9d817e7e8 (patch)
treef08d55d46147e8f4e252a84d32663b2e036bc3e2 /accel-pppd/radius/radius.c
parent744f633e56d88d86cbf16bfa77fe3177d9c71a6b (diff)
downloadaccel-ppp-xebd-90125d7cad59c2c47e1a5765261af4a9d817e7e8.tar.gz
accel-ppp-xebd-90125d7cad59c2c47e1a5765261af4a9d817e7e8.zip
radius: introduced max-fail option
Before this patch any single fail (no responce for max_try requests) caused radius server to enter "fail" state, which may be unwanted behaviour, because radius may not respond for interim Accounting-Request by some reasons. This patch introduces "max-fail" option which specifies number of unreplied requests in a row after which server enters into "fail" state. (Actual only for multi-server configurations)
Diffstat (limited to 'accel-pppd/radius/radius.c')
-rw-r--r--accel-pppd/radius/radius.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/accel-pppd/radius/radius.c b/accel-pppd/radius/radius.c
index 6cf5ead..045dee8 100644
--- a/accel-pppd/radius/radius.c
+++ b/accel-pppd/radius/radius.c
@@ -670,14 +670,6 @@ static int load_config(void)
if (opt)
conf_acct_delay_time = atoi(opt);
- opt = conf_get_opt("radius", "fail-time");
- if (opt)
- conf_fail_time = atoi(opt);
-
- opt = conf_get_opt("radius", "req-limit");
- if (opt)
- conf_req_limit = atoi(opt);
-
conf_attr_tunnel_type = conf_get_opt("radius", "attr-tunnel-type");
conf_default_realm = conf_get_opt("radius", "default-realm");