From 427c0e0303984c4f582429178a34b4d07d9b4444 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 28 Dec 2017 20:44:00 +0300 Subject: ipoe: check noauth option in [auth] section too --- accel-pppd/ppp/ppp_auth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel-pppd/ppp/ppp_auth.c') diff --git a/accel-pppd/ppp/ppp_auth.c b/accel-pppd/ppp/ppp_auth.c index 79272886..27138748 100644 --- a/accel-pppd/ppp/ppp_auth.c +++ b/accel-pppd/ppp/ppp_auth.c @@ -399,6 +399,8 @@ static void load_config(void) opt = conf_get_opt("auth", "noauth"); if (opt) conf_noauth = atoi(opt); + else + conf_noauth = 0; } static void ppp_auth_init() -- cgit v1.2.3