X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fauth.c;h=b1271c4f8739e4631740a44880586b4d3e92ceb9;hb=b4430f7092ececdff2504d5f3393a4c6528c3686;hp=ffa0e14afb097e775e18cc0257f0e56d7256d9a9;hpb=c58bf2e8023dd846683f09cb00e15d64143dac8c;p=ppp.git 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;