summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-02-03 10:08:38 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-02-03 10:08:38 +0000
commit72babd8db302c1859dcee23b3e03d634615ae277 (patch)
treec6fc4a7a7d0667f4169b1bdb963394da57282657 /usr.bin/ssh/auth.c
parent494de73e55e016caf742fa1eff4d6cac78206137 (diff)
make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 450250e28d4..8455107aca6 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth.c,v 1.14 2001/01/21 19:05:43 markus Exp $");
+RCSID("$OpenBSD: auth.c,v 1.15 2001/02/03 10:08:37 markus Exp $");
#include "xmalloc.h"
#include "match.h"
@@ -176,7 +176,7 @@ auth_root_allowed(void)
log("Root login accepted for forced command.");
return 1;
} else {
- log("ROOT LOGIN REFUSED FROM %.200s", get_canonical_hostname());
+ log("ROOT LOGIN REFUSED FROM %.200s", get_remote_ipaddr());
return 0;
}
}