From 250d6ffeb807ae7c87574736d6775e4bb92306d1 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Mon, 26 May 2008 20:22:47 +0000 Subject: [PATCH] Enable logging of realip. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2979 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/log.c b/engine/common/log.c index 265017aa4..175b58f8d 100644 --- a/engine/common/log.c +++ b/engine/common/log.c @@ -273,7 +273,7 @@ void SV_LogPlayer(client_t *cl, char *msg) snprintf(line, sizeof(line), "%s\\%s\\%i\\%s\\%s\\%i%s\n", 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); Log_String(LOG_PLAYER, line);