From 4bb106036bb644e33fe41340b3ae8f7b603c1210 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 9 Dec 2007 17:19:43 +0000 Subject: small fix to the server's packet parsing code to display server IPs correctly. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11876 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index e1f7b057b..8bf122a5f 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11529,8 +11529,7 @@ int clif_parse(int fd) map_quit(sd); } } else { - uint32 ip = session[fd]->client_addr; - ShowInfo("Closed connection from '"CL_WHITE"%d.%d.%d.%d"CL_RESET"'.\n", CONVIP(ip)); + ShowInfo("Closed connection from '"CL_WHITE"%s"CL_RESET"'.\n", ip2str(session[fd]->client_addr, NULL)); } do_close(fd); return 0; -- cgit v1.2.3-60-g2f50