Fix concatenation using inet_ntoa (no reentrant)