summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2017-05-17 01:24:17 +0000
committerDamien Miller <djm@mindrot.org>2017-05-17 11:25:22 +1000
commit54cd41a4663fad66406dd3c8fe0e4760ccd8a899 (patch)
tree382e0546d26cf1bb6ce54c0dc1b5278df697450c /auth.c
parent277abcda3f1b08d2376686f0ef20320160d4c8ab (diff)
upstream commit
allow LogLevel in sshd_config Match blocks; ok dtucker bz#2717 Upstream-ID: 662e303be63148f47db1aa78ab81c5c2e732baa8
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth.c b/auth.c
index 6ee6116d..8b294295 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.119 2016/12/15 21:29:05 dtucker Exp $ */
+/* $OpenBSD: auth.c,v 1.120 2017/05/17 01:24:17 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -635,6 +635,7 @@ getpwnamallow(const char *user)
ci->user = user;
parse_server_match_config(&options, ci);
+ log_change_level(options.log_level);
#if defined(_AIX) && defined(HAVE_SETAUTHDB)
aix_setauthdb(user);