summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp_fsm.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-14 17:38:00 +0400
committerKozlov Dmitry <dima@server>2010-10-14 17:38:00 +0400
commitf2cca0f357cebb8aedc43673809cae396a921c98 (patch)
treeab5950279a2b908c940652577bc51e25f36cc9dd /accel-pptpd/ppp/ppp_fsm.c
parent719730c5021a365b585701d4534a37a9551d8395 (diff)
downloadaccel-ppp-f2cca0f357cebb8aedc43673809cae396a921c98.tar.gz
accel-ppp-f2cca0f357cebb8aedc43673809cae396a921c98.zip
radius: send Framed-IP-Address in Accounting-Request
Diffstat (limited to 'accel-pptpd/ppp/ppp_fsm.c')
-rw-r--r--accel-pptpd/ppp/ppp_fsm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/accel-pptpd/ppp/ppp_fsm.c b/accel-pptpd/ppp/ppp_fsm.c
index dc079fd9..596d941f 100644
--- a/accel-pptpd/ppp/ppp_fsm.c
+++ b/accel-pptpd/ppp/ppp_fsm.c
@@ -511,19 +511,20 @@ void __init fsm_init(void)
{
char *opt;
- opt = conf_get_opt("lcp", "max-terminate");
+ opt = conf_get_opt("ppp", "max-terminate");
if (opt && atoi(opt) > 0)
conf_max_terminate = atoi(opt);
- opt = conf_get_opt("lcp", "max-configure");
+ opt = conf_get_opt("ppp", "max-configure");
if (opt && atoi(opt) > 0)
conf_max_configure = atoi(opt);
- opt = conf_get_opt("lcp", "max-failure");
+ opt = conf_get_opt("ppp", "max-failure");
if (opt && atoi(opt) > 0)
conf_max_failure = atoi(opt);
- opt = conf_get_opt("lcp", "timeout");
+ opt = conf_get_opt("ppp", "timeout");
if (opt && atoi(opt) > 0)
conf_timeout = atoi(opt);
}
+