From 90125d7cad59c2c47e1a5765261af4a9d817e7e8 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 23 Oct 2014 16:42:06 +0400 Subject: 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) --- accel-pppd/radius/radius.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'accel-pppd/radius/radius.c') 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"); -- cgit v1.2.3