diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 21:15:27 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-01-17 21:15:27 +1100 |
commit | ea52a829699e981a58a69a77342e7ca3715a5f5b (patch) | |
tree | 425c4f3bbd3c691479e707431e0caf8458573b97 /loginrec.c | |
parent | 263d43d2a58f0fc4cf211808410560c8c3e451d2 (diff) |
- (dtucker) [LICENCE Makefile.in audit-bsm.c audit-linux.c audit.c audit.h
configure.ac defines.h loginrec.c] Bug #1402: add linux audit subsystem
support, based on patches from Tomas Mraz and jchadima at redhat.
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loginrec.c b/loginrec.c index 587d55f7d..32941c985 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -469,9 +469,9 @@ login_write(struct logininfo *li) | |||
469 | #endif | 469 | #endif |
470 | #ifdef SSH_AUDIT_EVENTS | 470 | #ifdef SSH_AUDIT_EVENTS |
471 | if (li->type == LTYPE_LOGIN) | 471 | if (li->type == LTYPE_LOGIN) |
472 | audit_session_open(li->line); | 472 | audit_session_open(li); |
473 | else if (li->type == LTYPE_LOGOUT) | 473 | else if (li->type == LTYPE_LOGOUT) |
474 | audit_session_close(li->line); | 474 | audit_session_close(li); |
475 | #endif | 475 | #endif |
476 | return (0); | 476 | return (0); |
477 | } | 477 | } |