Support syslog logging in dbclient.

This commit is contained in:
Konstantin Tokarev
2015-12-01 21:55:34 +03:00
parent c59827334c
commit 3cb278c35c
4 changed files with 34 additions and 5 deletions

View File

@@ -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)