From 3cb278c35c8889a2738f4f70775ec7f8036e76a4 Mon Sep 17 00:00:00 2001 From: Konstantin Tokarev Date: Tue, 1 Dec 2015 21:55:34 +0300 Subject: Support syslog logging in dbclient. --- cli-session.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli-session.c') 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) -- cgit v1.2.3