net/freeradius: restructure clients.conf to fix warning (#437)

* Update clients.conf

* bump version
This commit is contained in:
Michael 2017-12-17 09:36:40 +01:00 committed by Franco Fichtner
parent 2d124a4c30
commit 386c126f17
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= freeradius
PLUGIN_VERSION= 1.4.0
PLUGIN_VERSION= 1.4.1
PLUGIN_COMMENT= RADIUS Authentication, Authorization and Accounting Server
PLUGIN_DEPENDS= freeradius3
PLUGIN_MAINTAINER= m.muenz@gmail.com

View file

@ -3,9 +3,10 @@
{% if helpers.exists('OPNsense.freeradius.client.clients.client') %}
{% for client_list in helpers.toList('OPNsense.freeradius.client.clients.client') %}
{% if client_list.enabled == '1' %}
client {{ client_list.ip }} {
client "{{ client_list.name }}" {
secret = {{ client_list.secret }}
shortname = "{{ client_list.name }}"
ipaddr = {{ client_list.ip }}
}
{% endif %}