* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define RCSID "$Id: auth.c,v 1.70 2001/04/27 23:13:06 paulus Exp $"
+#define RCSID "$Id: auth.c,v 1.72 2002/01/11 18:07:45 etbe Exp $"
#include <stdio.h>
#include <stddef.h>
#define PW_PPP PW_LOGIN
#endif
#endif
+#include <time.h>
#include "pppd.h"
#include "fsm.h"
{
if (--num_np_up == 0) {
UNTIMEOUT(check_idle, NULL);
+ UNTIMEOUT(connect_time_expired, NULL);
new_phase(PHASE_NETWORK);
}
}
if (pam_error == PAM_SUCCESS && !PAM_error) {
pam_error = pam_acct_mgmt (pamh, PAM_SILENT);
if (pam_error == PAM_SUCCESS)
- pam_open_session (pamh, PAM_SILENT);
+ pam_error = pam_open_session (pamh, PAM_SILENT);
}
*msg = (char *) pam_strerror (pamh, pam_error);