diff options
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/bsd-cray.c | 6 | ||||
-rw-r--r-- | openbsd-compat/port-aix.c | 2 |
2 files changed, 4 insertions, 4 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. |
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index f192a4e79..b4c9454a1 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -68,7 +68,7 @@ aix_usrinfo(struct passwd *pw) | |||
68 | void | 68 | void |
69 | record_failed_login(const char *user, const char *ttyname) | 69 | record_failed_login(const char *user, const char *ttyname) |
70 | { | 70 | { |
71 | char *hostname = get_canonical_hostname(options.verify_reverse_mapping); | 71 | char *hostname = get_canonical_hostname(options.use_dns); |
72 | 72 | ||
73 | loginfailed(user, hostname, ttyname); | 73 | loginfailed(user, hostname, ttyname); |
74 | } | 74 | } |