From 2b59a6dad6ed7c127a2942fe941dac7092337ea4 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 6 Mar 2005 22:38:51 +1100 Subject: - (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit events earlier, prevents mm_request_send errors reported by Matt Goebel. --- sshd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sshd.c') diff --git a/sshd.c b/sshd.c index a5b7f1ca3..11d618d11 100644 --- a/sshd.c +++ b/sshd.c @@ -1728,6 +1728,10 @@ main(int ac, char **av) finish_pam(); #endif /* USE_PAM */ +#ifdef SSH_AUDIT_EVENTS + PRIVSEP(audit_event(SSH_CONNECTION_CLOSE)); +#endif + packet_close(); if (use_privsep) -- cgit v1.2.3