diff options
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/radius.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/accel-pppd/radius/radius.c b/accel-pppd/radius/radius.c index 5313fe1..bae5876 100644 --- a/accel-pppd/radius/radius.c +++ b/accel-pppd/radius/radius.c @@ -542,13 +542,13 @@ static int load_config(void) conf_acct_timeout = atoi(opt); opt = conf_get_opt("radius", "verbose"); - if (opt && atoi(opt) > 0) - conf_verbose = 1; - + if (opt && atoi(opt) >= 0) + conf_verbose = atoi(opt) > 0; + opt = conf_get_opt("radius", "interim-verbose"); - if (opt && atoi(opt) > 0) - conf_interim_verbose = 1; - + if (opt && atoi(opt) >= 0) + conf_interim_verbose = atoi(opt) > 0; + opt = conf_get_opt("radius", "nas-ip-address"); if (opt) conf_nas_ip_address = inet_addr(opt); |