summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-10-22 09:35:24 +1100
committerDamien Miller <djm@mindrot.org>2015-10-22 09:35:24 +1100
commitac908c1eeacccfa85659594d92428659320fd57e (patch)
tree2da5301598e4a9700c1f2e65792e63bec34812d6 /servconf.c
parentb56deb847f4a0115a8bf488bf6ee8524658162fd (diff)
turn off PrintLastLog when --disable-lastlog
bz#2278 from Brent Paulson
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/servconf.c b/servconf.c
index b5db0f743..f9be7f093 100644
--- a/servconf.c
+++ b/servconf.c
@@ -499,7 +499,11 @@ static struct {
499 { "listenaddress", sListenAddress, SSHCFG_GLOBAL }, 499 { "listenaddress", sListenAddress, SSHCFG_GLOBAL },
500 { "addressfamily", sAddressFamily, SSHCFG_GLOBAL }, 500 { "addressfamily", sAddressFamily, SSHCFG_GLOBAL },
501 { "printmotd", sPrintMotd, SSHCFG_GLOBAL }, 501 { "printmotd", sPrintMotd, SSHCFG_GLOBAL },
502#ifdef DISABLE_LASTLOG
503 { "printlastlog", sUnsupported, SSHCFG_GLOBAL },
504#else
502 { "printlastlog", sPrintLastLog, SSHCFG_GLOBAL }, 505 { "printlastlog", sPrintLastLog, SSHCFG_GLOBAL },
506#endif
503 { "ignorerhosts", sIgnoreRhosts, SSHCFG_GLOBAL }, 507 { "ignorerhosts", sIgnoreRhosts, SSHCFG_GLOBAL },
504 { "ignoreuserknownhosts", sIgnoreUserKnownHosts, SSHCFG_GLOBAL }, 508 { "ignoreuserknownhosts", sIgnoreUserKnownHosts, SSHCFG_GLOBAL },
505 { "x11forwarding", sX11Forwarding, SSHCFG_ALL }, 509 { "x11forwarding", sX11Forwarding, SSHCFG_ALL },