summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp_fsm.c
diff options
context:
space:
mode:
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 dc079fd..596d941 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);
}
+