From bee14597be1a0f16e9724684024c23c183c04120 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) --- pam_usb/src/local.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pam_usb/src/local.c b/pam_usb/src/local.c index 1b91711..39edc3d 100644 --- a/pam_usb/src/local.c +++ b/pam_usb/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); } }