Log connection attempts
This commit is contained in:
parent
da154ffd06
commit
c3e5fd2375
2 changed files with 66 additions and 0 deletions
|
@ -214,6 +214,7 @@ player_accept(void *unused)
|
|||
player_delete(np);
|
||||
continue;
|
||||
}
|
||||
logerror("Connect from %s", np->hostaddr);
|
||||
#ifdef RESOLVE_IPADDRESS
|
||||
hostp = gethostbyaddr(inaddr, player_addrlen, sap->sa_family);
|
||||
if (NULL != hostp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue