Fixed IPv6 issue.