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…
Reference in New Issue