From eb28cbc3996a7a6157f7637ed2270555a32cc292 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 3 Jun 2003 12:45:27 +1000 Subject: - (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping. --- openbsd-compat/bsd-cray.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'openbsd-compat/bsd-cray.c') diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c index bff0fea3a..f2ac428cc 100644 --- a/openbsd-compat/bsd-cray.c +++ b/openbsd-compat/bsd-cray.c @@ -1,5 +1,5 @@ /* - * $Id: bsd-cray.c,v 1.11 2003/05/18 14:13:38 djm Exp $ + * $Id: bsd-cray.c,v 1.12 2003/06/03 02:45:27 dtucker Exp $ * * bsd-cray.c * @@ -103,7 +103,7 @@ cray_login_failure(char *username, int errcode) memset(&fsent, '\0', sizeof(fsent)); fsent.revision = 0; fsent.uname = username; - fsent.host = (char *)get_canonical_hostname(options.verify_reverse_mapping); + fsent.host = (char *)get_canonical_hostname(options.use_dns); fsent.ttyn = "sshd"; fsent.caller = IA_SSHD; fsent.flags = IA_INTERACTIVE; @@ -199,7 +199,7 @@ cray_setup (uid_t uid, char *username, const char *command) } hostname[0] = '\0'; strlcpy(hostname, - (char *)get_canonical_hostname(options.verify_reverse_mapping), + (char *)get_canonical_hostname(options.use_dns), MAXHOSTNAMELEN); /* * Fetch user's UDB entry. -- cgit v1.2.3