Browse Source

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

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

+ 1
- 4
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