diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth.c,v 1.14 2001/01/21 19:05:43 markus Exp $"); | 26 | RCSID("$OpenBSD: auth.c,v 1.15 2001/02/03 10:08:37 markus Exp $"); |
27 | 27 | ||
28 | #ifdef HAVE_LOGIN_H | 28 | #ifdef HAVE_LOGIN_H |
29 | #include <login.h> | 29 | #include <login.h> |
@@ -228,7 +228,7 @@ auth_root_allowed(void) | |||
228 | log("Root login accepted for forced command."); | 228 | log("Root login accepted for forced command."); |
229 | return 1; | 229 | return 1; |
230 | } else { | 230 | } else { |
231 | log("ROOT LOGIN REFUSED FROM %.200s", get_canonical_hostname()); | 231 | log("ROOT LOGIN REFUSED FROM %.200s", get_remote_ipaddr()); |
232 | return 0; | 232 | return 0; |
233 | } | 233 | } |
234 | } | 234 | } |