redir: detect ipv6 addressing better