summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/ip-down.script.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-08 20:30:59 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-08 20:30:59 +0200
commit1c6ea07e995f22949205c15b884287fc174f0998 (patch)
tree27ddc20da36faaef3ea1d03a4e891dbfd0b7a3be /data/templates/pppoe/ip-down.script.tmpl
parent17e9f97cbbc713bd01876296ed2c5505909b7766 (diff)
downloadvyos-1x-1c6ea07e995f22949205c15b884287fc174f0998.tar.gz
vyos-1x-1c6ea07e995f22949205c15b884287fc174f0998.zip
pppoe: T2585: use cleaner template expression
Diffstat (limited to 'data/templates/pppoe/ip-down.script.tmpl')
-rw-r--r--data/templates/pppoe/ip-down.script.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/pppoe/ip-down.script.tmpl b/data/templates/pppoe/ip-down.script.tmpl
index ac14d4b07..7b1952a80 100644
--- a/data/templates/pppoe/ip-down.script.tmpl
+++ b/data/templates/pppoe/ip-down.script.tmpl
@@ -10,7 +10,7 @@ fi
DIALER_PID=$(cat /var/run/{{ ifname }}.pid)
logger -t pppd[$DIALER_PID] "executing $0"
-{% if not connect_on_demand %}
+{% if connect_on_demand is not defined %}
# See https://phabricator.vyos.net/T2248. Determine if we are enslaved to a
# VRF, this is needed to properly insert the default route.
VRF_NAME=""