dnsmasq: sort ranges by network name
This commit is contained in:
parent
2bf2eb73a7
commit
21df85e97a
|
@ -1,4 +1,4 @@
|
|||
{% for prefix in prefixes | selectattr('custom_fields.dhcp_server') %}
|
||||
{% for prefix in prefixes | selectattr('custom_fields.dhcp_server') | sort(attribute='vlan.name') %}
|
||||
{% if prefix.custom_fields.dhcp_server.address | ipaddr('address') == primary_ip4 %}
|
||||
# {{ prefix.vlan.name }}
|
||||
{% for range in prefix.custom_fields.dhcp_ranges | default([], true) %}
|
||||
|
|
Loading…
Reference in a new issue