{{ with $args := . }} {{ range $octetNum, $octet := .ip.To4 }} {{ with $closedOctets := (or $args.closedOctets 0)}}