-
Just FYI a little fix
I have run into multiple problems with this code in both the tribesserverstatindex.pl and tribesserverstat.pl. IMHO this code is not necessarry since we already have the serverip. It just doesn't make sense to look up the server IP address using the server IP address. Now if you were using the server name to get the IP address that would make sense. As you can see below I have commented out this code in both perl scripts and life is fine.
In tribesserverstatindex.pl I noticed some of the servers I had listed were causing very slow web page updates. Commenting out this code fixed that problem.
In tribesserverstat.pl this caused an issue on my T2 server which had multiple ethernet adapters as well as slow responses from some servers.
# $tmp = gethost($settings{serverip});
# if ($tmp) {
# $settings{serverip} = inet_ntoa($tmp->addr);
# }
Hope this helps others. If there is a good reason for this code please clue me in.
Thanks for the great work!
BadPants