Mercurial > dropbear
diff cli-session.c @ 1214:61d3f56808a4
Merge pull request #18 from annulen/dbclient_syslog
Support syslog logging in dbclient.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Dec 2015 21:55:51 +0800 |
parents | bf626d259eb1 |
children | 854f39ff5105 9169e4e7cbee |
line wrap: on
line diff
--- a/cli-session.c Tue Dec 15 21:40:32 2015 +0800 +++ b/cli-session.c Tue Dec 15 21:55:51 2015 +0800 @@ -269,6 +269,11 @@ 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)