summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp
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
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')
-rw-r--r--accel-pptpd/ppp/ppp_ccp.c2
-rw-r--r--accel-pptpd/ppp/ppp_fsm.c9
-rw-r--r--accel-pptpd/ppp/ppp_ipcp.c2
3 files changed, 7 insertions, 6 deletions
diff --git a/accel-pptpd/ppp/ppp_ccp.c b/accel-pptpd/ppp/ppp_ccp.c
index 9f8419f..24f0e51 100644
--- a/accel-pptpd/ppp/ppp_ccp.c
+++ b/accel-pptpd/ppp/ppp_ccp.c
@@ -606,7 +606,7 @@ static void ccp_recv(struct ppp_handler_t*h)
if (ccp->fsm.fsm_state == FSM_Initial || ccp->fsm.fsm_state == FSM_Closed) {
if (conf_ppp_verbose)
- log_ppp_warn("CCP: discaring packet\n");
+ log_ppp_warn("CCP: discarding packet\n");
if (ccp->fsm.fsm_state == FSM_Closed)
lcp_send_proto_rej(ccp->ppp, htons(PPP_CCP));
return;
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);
}
+
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c
index ca8896c..a81fac5 100644
--- a/accel-pptpd/ppp/ppp_ipcp.c
+++ b/accel-pptpd/ppp/ppp_ipcp.c
@@ -554,7 +554,7 @@ static void ipcp_recv(struct ppp_handler_t*h)
if (ipcp->fsm.fsm_state == FSM_Initial || ipcp->fsm.fsm_state == FSM_Closed) {
if (conf_ppp_verbose)
- log_ppp_warn("IPCP: discaring packet\n");
+ log_ppp_warn("IPCP: discarding packet\n");
return;
}