summaryrefslogtreecommitdiff
path: root/data/templates/pppoe
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-26 21:16:31 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-26 21:16:31 +0200
commit4519918bb9bf65f042e280281692e816e4566ef4 (patch)
treea28131282d28c5d27221eabc3501780aaa2d6e69 /data/templates/pppoe
parent825059e83237dd389d461257e1b46625084702df (diff)
downloadvyos-1x-4519918bb9bf65f042e280281692e816e4566ef4.tar.gz
vyos-1x-4519918bb9bf65f042e280281692e816e4566ef4.zip
pppoe: T2502: fix Jinja2 template indention
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r--data/templates/pppoe/ip-up.script.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/pppoe/ip-up.script.tmpl b/data/templates/pppoe/ip-up.script.tmpl
index eacc37e4e..a274296b6 100644
--- a/data/templates/pppoe/ip-up.script.tmpl
+++ b/data/templates/pppoe/ip-up.script.tmpl
@@ -40,10 +40,10 @@ fi
vtysh -c "show running-config" | sed -n "/${SED_OPT}/,/!/p" | grep 0.0.0.0/0 | while read route ; do
vtysh -c "conf t" ${VTY_OPT} -c "no ${route} ${VRF_NAME}"
done
-{% endif %}
+{% endif %}
# Add default route to default or VRF routing table
vtysh -c "conf t" ${VTY_OPT} -c "ip route 0.0.0.0/0 {{ intf }} ${VRF_NAME}"
logger -t pppd[$DIALER_PID] "added default route via {{ intf }} ${VRF_NAME}"
-{% endif %}
+{% endif %}
{% endif %}