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