summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/config_shaper_radius.j2
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-10 09:26:56 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-11 21:22:07 +0200
commitf1b031589e6c58296cdf73b975c71b10c407bdb3 (patch)
treeaea66328fffbdd9c22d39bddf0fb16248100beb0 /data/templates/accel-ppp/config_shaper_radius.j2
parent02f2700d4e3742bacf534c5bd6c4118c66a18aff (diff)
downloadvyos-1x-f1b031589e6c58296cdf73b975c71b10c407bdb3.tar.gz
vyos-1x-f1b031589e6c58296cdf73b975c71b10c407bdb3.zip
T4353: enable linting of Jinja2 templates
Diffstat (limited to 'data/templates/accel-ppp/config_shaper_radius.j2')
-rw-r--r--data/templates/accel-ppp/config_shaper_radius.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/accel-ppp/config_shaper_radius.j2 b/data/templates/accel-ppp/config_shaper_radius.j2
index cf8b4871b..c256647e4 100644
--- a/data/templates/accel-ppp/config_shaper_radius.j2
+++ b/data/templates/accel-ppp/config_shaper_radius.j2
@@ -1,10 +1,10 @@
{% if authentication.mode is vyos_defined('radius') %}
-{% if authentication.radius.rate_limit.enable is vyos_defined %}
+{% if authentication.radius.rate_limit.enable is vyos_defined %}
[shaper]
verbose=1
attr={{ authentication.radius.rate_limit.attribute }}
-{% if authentication.radius.rate_limit.vendor is vyos_defined %}
+{% if authentication.radius.rate_limit.vendor is vyos_defined %}
vendor={{ authentication.radius.rate_limit.vendor }}
+{% endif %}
{% endif %}
-{% endif %}
{% endif %}