diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2012-01-20 11:29:00 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-01-20 11:29:00 +0400 |
commit | f809cd21de7a3ad5451df2b448be983f6b98e900 (patch) | |
tree | 822066901366deae2fa99c1bc7fa2fdc920ad6c7 /accel-pppd/ppp | |
parent | 5c8d9c33ca6d3c22473e8f2cd3cba4ecb47f0d71 (diff) | |
download | accel-ppp-f809cd21de7a3ad5451df2b448be983f6b98e900.tar.gz accel-ppp-f809cd21de7a3ad5451df2b448be983f6b98e900.zip |
fix syntaxis error
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; |