Fixed bug in printing IP addresses where it introduced spaces into the printed addresses