Fixed bug in IPv6 [] code