From 7f76450282dd9929d33d8e4f7ef552938cafe4ad Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Sun, 22 Oct 2006 19:26:24 +0000 Subject: [PATCH] Removed ip address from remote login logging (only hostname now) --- src/local.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/local.c b/src/local.c index 1b91711..39edc3d 100644 --- a/src/local.c +++ b/src/local.c @@ -53,10 +53,7 @@ int pusb_local_login(t_pusb_options *opts, const char *user) { if (utent->ut_addr_v6[i] != 0) { - char *ptr = (char *)utent->ut_addr_v6; - - log_error("Remote authentication request: %s (%u.%u.%u.%u)\n", - utent->ut_host, ptr[0], ptr[1], ptr[2], ptr[3]); + log_error("Remote authentication request: %s\n", utent->ut_host); return (0); } }