Wrap IPv6 in brackets in the prompt.