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 bff0fea3a..f2ac428cc 100644 --- a/openbsd-compat/bsd-cray.c +++ b/openbsd-compat/bsd-cray.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: bsd-cray.c,v 1.11 2003/05/18 14:13:38 djm Exp $ | 2 | * $Id: bsd-cray.c,v 1.12 2003/06/03 02:45:27 dtucker Exp $ |
3 | * | 3 | * |
4 | * bsd-cray.c | 4 | * bsd-cray.c |
5 | * | 5 | * |
@@ -103,7 +103,7 @@ cray_login_failure(char *username, int errcode) | |||
103 | memset(&fsent, '\0', sizeof(fsent)); | 103 | memset(&fsent, '\0', sizeof(fsent)); |
104 | fsent.revision = 0; | 104 | fsent.revision = 0; |
105 | fsent.uname = username; | 105 | fsent.uname = username; |
106 | fsent.host = (char *)get_canonical_hostname(options.verify_reverse_mapping); | 106 | fsent.host = (char *)get_canonical_hostname(options.use_dns); |
107 | fsent.ttyn = "sshd"; | 107 | fsent.ttyn = "sshd"; |
108 | fsent.caller = IA_SSHD; | 108 | fsent.caller = IA_SSHD; |
109 | fsent.flags = IA_INTERACTIVE; | 109 | fsent.flags = IA_INTERACTIVE; |
@@ -199,7 +199,7 @@ cray_setup (uid_t uid, char *username, const char *command) | |||
199 | } | 199 | } |
200 | hostname[0] = '\0'; | 200 | hostname[0] = '\0'; |
201 | strlcpy(hostname, | 201 | strlcpy(hostname, |
202 | (char *)get_canonical_hostname(options.verify_reverse_mapping), | 202 | (char *)get_canonical_hostname(options.use_dns), |
203 | MAXHOSTNAMELEN); | 203 | MAXHOSTNAMELEN); |
204 | /* | 204 | /* |
205 | * Fetch user's UDB entry. | 205 | * Fetch user's UDB entry. |