diff options
Diffstat (limited to 'auth-rhosts.c')
-rw-r--r-- | auth-rhosts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-rhosts.c b/auth-rhosts.c index 4f9ea886d..d8d10ffc9 100644 --- a/auth-rhosts.c +++ b/auth-rhosts.c | |||
@@ -14,7 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include "includes.h" | 16 | #include "includes.h" |
17 | RCSID("$OpenBSD: auth-rhosts.c,v 1.19 2001/01/21 19:05:42 markus Exp $"); | 17 | RCSID("$OpenBSD: auth-rhosts.c,v 1.20 2001/02/03 10:08:36 markus Exp $"); |
18 | 18 | ||
19 | #include "packet.h" | 19 | #include "packet.h" |
20 | #include "xmalloc.h" | 20 | #include "xmalloc.h" |
@@ -183,7 +183,7 @@ auth_rhosts(struct passwd *pw, const char *client_user) | |||
183 | stat(_PATH_SSH_HOSTS_EQUIV, &st) < 0) | 183 | stat(_PATH_SSH_HOSTS_EQUIV, &st) < 0) |
184 | return 0; | 184 | return 0; |
185 | 185 | ||
186 | hostname = get_canonical_hostname(); | 186 | hostname = get_canonical_hostname(options.reverse_mapping_check); |
187 | ipaddr = get_remote_ipaddr(); | 187 | ipaddr = get_remote_ipaddr(); |
188 | 188 | ||
189 | /* If not logging in as superuser, try /etc/hosts.equiv and shosts.equiv. */ | 189 | /* If not logging in as superuser, try /etc/hosts.equiv and shosts.equiv. */ |