diff options
Diffstat (limited to 'accel-pppd/ppp')
-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 |
3 files changed, 3 insertions, 3 deletions
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; |