summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ipcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ppp/ppp_ipcp.c')
-rw-r--r--accel-pppd/ppp/ppp_ipcp.c2
1 files changed, 1 insertions, 1 deletions
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;