[openssh-commits] [openssh] 01/01: turn off PrintLastLog when --disable-lastlog

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Oct 22 09:35:43 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit ac908c1eeacccfa85659594d92428659320fd57e
Author: Damien Miller <djm at mindrot.org>
Date:   Thu Oct 22 09:35:24 2015 +1100

    turn off PrintLastLog when --disable-lastlog
    
    bz#2278 from Brent Paulson
---
 servconf.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/servconf.c b/servconf.c
index b5db0f7..f9be7f0 100644
--- a/servconf.c
+++ b/servconf.c
@@ -499,7 +499,11 @@ static struct {
 	{ "listenaddress", sListenAddress, SSHCFG_GLOBAL },
 	{ "addressfamily", sAddressFamily, SSHCFG_GLOBAL },
 	{ "printmotd", sPrintMotd, SSHCFG_GLOBAL },
+#ifdef DISABLE_LASTLOG
+	{ "printlastlog", sUnsupported, SSHCFG_GLOBAL },
+#else
 	{ "printlastlog", sPrintLastLog, SSHCFG_GLOBAL },
+#endif
 	{ "ignorerhosts", sIgnoreRhosts, SSHCFG_GLOBAL },
 	{ "ignoreuserknownhosts", sIgnoreUserKnownHosts, SSHCFG_GLOBAL },
 	{ "x11forwarding", sX11Forwarding, SSHCFG_ALL },

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list