[auto-ipv6] rewrite