From 54844699d68d6f1224b1966eb59b59ebc5de2c36 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 1 Oct 2015 18:59:18 +0200 Subject: [PATCH] (captiveportal, new) work in progress template --- .../service/templates/OPNsense/Captiveportal/lighttpd-zone.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf b/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf index 9ef72a758..c3c08b388 100644 --- a/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf +++ b/src/opnsense/service/templates/OPNsense/Captiveportal/lighttpd-zone.conf @@ -1,6 +1,6 @@ {# select Captiveportal zone item #} {% set cp_zone_item = [] %} -{% for item in OPNsense.captiveportal.zones.zone %} +{% for item in helpers.toList('OPNsense.captiveportal.zones.zone') %} {% if TARGET_FILTERS['OPNsense.captiveportal.zones.zone.' ~ loop.index0] or TARGET_FILTERS['OPNsense.captiveportal.zones.zone'] %} {# found zone, search for interface ip #} {% for intf_tag in item.interfaces.split(',') %}