diff options
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/accel-ppp.conf.5 | 10 | ||||
-rw-r--r-- | accel-pppd/ppp/ccp_mppe.c | 2 | ||||
-rw-r--r-- | accel-pppd/ppp/ppp_ipcp.c | 2 | ||||
-rw-r--r-- | accel-pppd/ppp/ppp_ipv6cp.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5 index e4435a08..1405819b 100644 --- a/accel-pppd/accel-ppp.conf.5 +++ b/accel-pppd/accel-ppp.conf.5 @@ -118,13 +118,13 @@ If this option is .B deny then accel-ppp will deny second session authorization. .TP -.BI "mppe=" require|prefere|deny +.BI "mppe=" require|prefer|deny Specifies mppe negotioation preference. .br .B require - ask client for mppe, if it rejects drop connection .br -.B prefere +.B prefer - ask client for mppe, if it rejects don't fail. .br .B deny @@ -133,7 +133,7 @@ Specifies mppe negotioation preference. Default behavior - don't ask client for mppe, but allow it if client wants. Please note that RADIUS may override this option by MS-MPPE-Encryption-Policy attribute. .TP -.BI "ipv4=" deny|allow|prefere|require +.BI "ipv4=" deny|allow|prefer|require Specify IPv4 (IPCP) negotioation algorithm: .br .B deny @@ -142,13 +142,13 @@ Specify IPv4 (IPCP) negotioation algorithm: .B allow - negotiate IPv4 only if client requests. .br -.B prefere +.B prefer - ask client for IPv4 negotiation, don't fail if he rejects. .br .B require - require IPv4 negotiation. .TP -.BI "ipv6=" deny|allow|prefere|require +.BI "ipv6=" deny|allow|prefer|require Parameters are same as above. .TP .BI "ipv6-intf-id=" x:x:x:x|random diff --git a/accel-pppd/ppp/ccp_mppe.c b/accel-pppd/ppp/ccp_mppe.c index d3e127a6..9099fb0f 100644 --- a/accel-pppd/ppp/ccp_mppe.c +++ b/accel-pppd/ppp/ccp_mppe.c @@ -308,7 +308,7 @@ static void load_config(void) if (opt) { if (!strcmp(opt,"require")) conf_mppe = 2; - else if (!strcmp(opt,"prefere")) + else if (!strcmp(opt,"prefer") || !strcmp(opt,"prefere")) conf_mppe = 1; else if (!strcmp(opt,"deny")) conf_mppe = 0; diff --git a/accel-pppd/ppp/ppp_ipcp.c b/accel-pppd/ppp/ppp_ipcp.c index 6de79a2e..8af84caa 100644 --- a/accel-pppd/ppp/ppp_ipcp.c +++ b/accel-pppd/ppp/ppp_ipcp.c @@ -811,7 +811,7 @@ static void load_config(void) conf_ipv4 = IPV4_DENY; else if (!strcmp(opt, "allow")) conf_ipv4 = IPV4_ALLOW; - else if (!strcmp(opt, "prefere")) + else if (!strcmp(opt, "prefer") || !strcmp(opt, "prefere")) conf_ipv4 = IPV4_PREFERE; else if (!strcmp(opt, "require")) conf_ipv4 = IPV4_REQUIRE; diff --git a/accel-pppd/ppp/ppp_ipv6cp.c b/accel-pppd/ppp/ppp_ipv6cp.c index 33cb11d2..ffffa1e8 100644 --- a/accel-pppd/ppp/ppp_ipv6cp.c +++ b/accel-pppd/ppp/ppp_ipv6cp.c @@ -811,7 +811,7 @@ static void load_config(void) conf_ipv6 = IPV6_DENY; else if (!strcmp(opt, "allow")) conf_ipv6 = IPV6_ALLOW; - else if (!strcmp(opt, "prefere")) + else if (!strcmp(opt, "prefer") || !strcmp(opt, "prefere")) conf_ipv6 = IPV6_PREFERE; else if (!strcmp(opt, "require")) conf_ipv6 = IPV6_REQUIRE; |