From 16b0e0b2a8e3aa39b5e37486f5e9e3607b6649b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eivind=20N=C3=A6ss?= Date: Sun, 3 Jan 2021 22:53:40 -0800 Subject: [PATCH] pppd: Call auth-up-notifier even if 'noauth' is specified (#216) This will allow client side plug-ins like for SSTP to use the auth-up-notifier hook to process the authentication complete step. Signed-off-by: Eivind Naess --- pppd/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pppd/auth.c b/pppd/auth.c index ffa0e14..b1271c4 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -876,8 +876,8 @@ network_phase(int unit) /* * If the peer had to authenticate, run the auth-up script now. */ + notify(auth_up_notifier, 0); if (go->neg_chap || go->neg_upap || go->neg_eap) { - notify(auth_up_notifier, 0); auth_state = s_up; if (auth_script_state == s_down && auth_script_pid == 0) { auth_script_state = s_up; -- 2.39.2