From 4519918bb9bf65f042e280281692e816e4566ef4 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 26 May 2020 21:16:31 +0200 Subject: pppoe: T2502: fix Jinja2 template indention --- data/templates/pppoe/ip-up.script.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/templates/pppoe/ip-up.script.tmpl') 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 %} -- cgit v1.2.3