diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-26 21:16:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-26 21:16:31 +0200 |
commit | 4519918bb9bf65f042e280281692e816e4566ef4 (patch) | |
tree | a28131282d28c5d27221eabc3501780aaa2d6e69 /data | |
parent | 825059e83237dd389d461257e1b46625084702df (diff) | |
download | vyos-1x-4519918bb9bf65f042e280281692e816e4566ef4.tar.gz vyos-1x-4519918bb9bf65f042e280281692e816e4566ef4.zip |
pppoe: T2502: fix Jinja2 template indention
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/pppoe/ip-up.script.tmpl | 4 |
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 %} |