Fix template for using ipv6