diff options
author | Darren Tucker <dtucker@zip.com.au> | 2003-06-03 12:45:27 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2003-06-03 12:45:27 +1000 |
commit | eb28cbc3996a7a6157f7637ed2270555a32cc292 (patch) | |
tree | d0dfcae9cf7fa81fda1f9b034f0af7cf470fe723 /openbsd-compat/bsd-cray.c | |
parent | 048d88d5aa25cb6b20594af2aba1c0c5c96d3276 (diff) |
- (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping.
Diffstat (limited to 'openbsd-compat/bsd-cray.c')
-rw-r--r-- | openbsd-compat/bsd-cray.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-cray.c b/openbsd-compat/bsd-cray.c index bff0fea3..f2ac428c 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. |