check IPv6 brackets are used