Fix IPv6 validation error.