diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1628,7 +1628,7 @@ main(int ac, char **av) | |||
1628 | remote_port = get_remote_port(); | 1628 | remote_port = get_remote_port(); |
1629 | remote_ip = get_remote_ipaddr(); | 1629 | remote_ip = get_remote_ipaddr(); |
1630 | 1630 | ||
1631 | #ifdef AUDIT_EVENTS | 1631 | #ifdef SSH_AUDIT_EVENTS |
1632 | audit_connection_from(remote_ip, remote_port); | 1632 | audit_connection_from(remote_ip, remote_port); |
1633 | #endif | 1633 | #endif |
1634 | #ifdef LIBWRAP | 1634 | #ifdef LIBWRAP |
@@ -1700,8 +1700,8 @@ main(int ac, char **av) | |||
1700 | } | 1700 | } |
1701 | 1701 | ||
1702 | authenticated: | 1702 | authenticated: |
1703 | #ifdef AUDIT_EVENTS | 1703 | #ifdef SSH_AUDIT_EVENTS |
1704 | audit_event(AUTH_SUCCESS); | 1704 | audit_event(SSH_AUTH_SUCCESS); |
1705 | #endif | 1705 | #endif |
1706 | 1706 | ||
1707 | /* | 1707 | /* |
@@ -2017,10 +2017,10 @@ cleanup_exit(int i) | |||
2017 | { | 2017 | { |
2018 | if (the_authctxt) | 2018 | if (the_authctxt) |
2019 | do_cleanup(the_authctxt); | 2019 | do_cleanup(the_authctxt); |
2020 | #ifdef AUDIT_EVENTS | 2020 | #ifdef SSH_AUDIT_EVENTS |
2021 | /* done after do_cleanup so it can cancel the PAM auth 'thread' */ | 2021 | /* done after do_cleanup so it can cancel the PAM auth 'thread' */ |
2022 | if (!use_privsep || mm_is_monitor()) | 2022 | if (!use_privsep || mm_is_monitor()) |
2023 | audit_event(CONNECTION_ABANDON); | 2023 | audit_event(SSH_CONNECTION_ABANDON); |
2024 | #endif | 2024 | #endif |
2025 | _exit(i); | 2025 | _exit(i); |
2026 | } | 2026 | } |