The client commands dealing with debug info pretty much all have "dbg" or "debug" in their names.
Some of the AC code deals with IPv4 addresses, can't remember exactly which files; probably client.cpp by my first guess.
EDIT: clients2c.cpp line 1264, server.cpp lines 2399-2414, and the whois command ties into it in clientgame.cpp lines 1621-1625.
Some of the AC code deals with IPv4 addresses, can't remember exactly which files; probably client.cpp by my first guess.
EDIT: clients2c.cpp line 1264, server.cpp lines 2399-2414, and the whois command ties into it in clientgame.cpp lines 1621-1625.