svn commit: r257773 - head/contrib/telnet/telnetd
Simon J. Gerraty
sjg at FreeBSD.org
Thu Nov 7 00:36:40 UTC 2013
Author: sjg
Date: Thu Nov 7 00:36:39 2013
New Revision: 257773
URL: http://svnweb.freebsd.org/changeset/base/257773
Log:
Propagate ancient fix from Junos.
Use of -h is not supposed to depend on AUTHENTICATION being defined.
Reviewed by: markm
Modified:
head/contrib/telnet/telnetd/sys_term.c
Modified: head/contrib/telnet/telnetd/sys_term.c
==============================================================================
--- head/contrib/telnet/telnetd/sys_term.c Thu Nov 7 00:25:49 2013 (r257772)
+++ head/contrib/telnet/telnetd/sys_term.c Thu Nov 7 00:36:39 2013 (r257773)
@@ -1052,11 +1052,11 @@ start_login(char *host undef1, int autol
*/
if ((auth_level < 0) || (autologin != AUTH_VALID))
# endif
+#endif /* AUTHENTICATION */
{
argv = addarg(argv, "-h");
argv = addarg(argv, host);
}
-#endif /* AUTHENTICATION */
#endif
#if !defined(NO_LOGIN_P)
argv = addarg(argv, "-p");
More information about the svn-src-head
mailing list