fix inet_ntoa returning pointer to static buffer