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:
parent
df7d7bf4a5
commit
eba650c709
@ -1052,11 +1052,11 @@ start_login(char *host undef1, int autologin undef1, char *name undef1)
|
|||||||
*/
|
*/
|
||||||
if ((auth_level < 0) || (autologin != AUTH_VALID))
|
if ((auth_level < 0) || (autologin != AUTH_VALID))
|
||||||
# endif
|
# endif
|
||||||
|
#endif /* AUTHENTICATION */
|
||||||
{
|
{
|
||||||
argv = addarg(argv, "-h");
|
argv = addarg(argv, "-h");
|
||||||
argv = addarg(argv, host);
|
argv = addarg(argv, host);
|
||||||
}
|
}
|
||||||
#endif /* AUTHENTICATION */
|
|
||||||
#endif
|
#endif
|
||||||
#if !defined(NO_LOGIN_P)
|
#if !defined(NO_LOGIN_P)
|
||||||
argv = addarg(argv, "-p");
|
argv = addarg(argv, "-p");
|
||||||
|
Loading…
Reference in New Issue
Block a user