mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
Unbound+dhcp: fix template, enforce list when querying pools
This commit is contained in:
parent
3fc136b7bd
commit
42e80e1c3a
@ -9,7 +9,7 @@ domain={{dhcpd.domain}}
|
||||
|
||||
{% endif%}
|
||||
{% if 'pool' in dhcpd %}
|
||||
{% for pool in dhcpd.pool %}
|
||||
{% for pool in helpers.toList('dhcpd.'+interface+'.pool') %}
|
||||
{% if 'range' in pool and (pool.domain|default('') != '' or dhcpd.domain|default('') != '') %}
|
||||
[range_{{interface}}_pool_{{loop.index}}]
|
||||
start={{pool.range.from}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user