Enable logging of realip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2979 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
af47e57535
commit
250d6ffeb8
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ void SV_LogPlayer(client_t *cl, char *msg)
|
||||||
snprintf(line, sizeof(line),
|
snprintf(line, sizeof(line),
|
||||||
"%s\\%s\\%i\\%s\\%s\\%i%s\n",
|
"%s\\%s\\%i\\%s\\%s\\%i%s\n",
|
||||||
msg, cl->name, cl->userid,
|
msg, cl->name, cl->userid,
|
||||||
NET_BaseAdrToString(cl->netchan.remote_address), "??",
|
NET_BaseAdrToString(cl->netchan.remote_address), (cl->realip_status > 0 ? NET_BaseAdrToString(cl->realip) : "??"),
|
||||||
cl->netchan.remote_address.port, cl->userinfo);
|
cl->netchan.remote_address.port, cl->userinfo);
|
||||||
|
|
||||||
Log_String(LOG_PLAYER, line);
|
Log_String(LOG_PLAYER, line);
|
||||||
|
|
Loading…
Reference in a new issue