Browse Source

Removed ip address from remote login logging (only hostname now)

master
Andrea Luzzardi 18 years ago
parent
commit
bee14597be
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      pam_usb/src/local.c

+ 1
- 4
pam_usb/src/local.c View File

@ -53,10 +53,7 @@ int pusb_local_login(t_pusb_options *opts, const char *user)
{ {
if (utent->ut_addr_v6[i] != 0) 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); return (0);
} }
} }


Loading…
Cancel
Save