fixed: print brackets around ipv6 addresses