diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-12-15 21:55:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-12-15 21:55:51 +0800 |
commit | 3d33e65a3546193e05eb469d7c5a9b2b0931420d (patch) | |
tree | 8bca45fed4c974af5237f824850798a3d0d4fc1e /cli-session.c | |
parent | 2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff) | |
parent | 5ab562f69531a2d5438d22c0918003894e6cec0d (diff) |
Merge pull request #18 from annulen/dbclient_syslog
Support syslog logging in dbclient.
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c index 9be958e..a93d192 100644 --- a/cli-session.c +++ b/cli-session.c @@ -269,6 +269,11 @@ static void cli_sessionloop() { return; case USERAUTH_SUCCESS_RCVD: +#ifndef DISABLE_SYSLOG + if (opts.usingsyslog) { + dropbear_log(LOG_INFO, "Authentication succeeded."); + } +#endif #ifdef DROPBEAR_NONE_CIPHER if (cli_ses.cipher_none_after_auth) |