diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-03 10:08:38 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-03 10:08:38 +0000 |
commit | 72babd8db302c1859dcee23b3e03d634615ae277 (patch) | |
tree | c6fc4a7a7d0667f4169b1bdb963394da57282657 /usr.bin/ssh/session.c | |
parent | 494de73e55e016caf742fa1eff4d6cac78206137 (diff) |
make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@
Diffstat (limited to 'usr.bin/ssh/session.c')
-rw-r--r-- | usr.bin/ssh/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c index 7a5e867b965..a32b151a1ba 100644 --- a/usr.bin/ssh/session.c +++ b/usr.bin/ssh/session.c @@ -33,7 +33,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: session.c,v 1.51 2001/01/21 19:05:56 markus Exp $"); +RCSID("$OpenBSD: session.c,v 1.52 2001/02/03 10:08:37 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -621,7 +621,7 @@ get_remote_name_or_ip(void) { static const char *remote = ""; if (utmp_len > 0) - remote = get_canonical_hostname(); + remote = get_canonical_hostname(options.reverse_mapping_check); if (utmp_len == 0 || strlen(remote) > utmp_len) remote = get_remote_ipaddr(); return remote; |