Add ipv6_only flag and template override.