Propagate ancient fix from Junos.

Use of -h is not supposed to depend on AUTHENTICATION being defined.

Reviewed by: markm
This commit is contained in:
sjg 2013-11-07 00:36:39 +00:00
parent df7d7bf4a5
commit eba650c709

View File

@ -1052,11 +1052,11 @@ start_login(char *host undef1, int autologin undef1, char *name undef1)
*/
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");