mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-06-03 05:20:39 +02:00
turn off PrintLastLog when --disable-lastlog
bz#2278 from Brent Paulson
This commit is contained in:
parent
b56deb847f
commit
ac908c1eea
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user