Index: server/sernet.c =================================================================== RCS file: /home/freeciv/CVS/freeciv/server/sernet.c,v retrieving revision 1.31 diff -u -r1.31 sernet.c --- sernet.c 2000/01/02 11:32:16 1.31 +++ sernet.c 2000/03/01 15:39:45 @@ -260,7 +260,10 @@ connections[i].byte_swap=0; connections[i].access_level=default_access_level; - sz_strlcpy(connections[i].addr, (from ? from->h_name : "unknown")); + if (from) + sz_strlcpy(connections[i].addr, from->h_name); + else + sz_strlcpy(connections[i].addr, inet_ntoa(fromend.sin_addr)); freelog(LOG_VERBOSE, "connection from %s", connections[i].addr); return 0;