summaryrefslogtreecommitdiff
path: root/data/templates/pppoe/ip-up.script.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-08 20:26:20 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-08 20:27:56 +0200
commit17e9f97cbbc713bd01876296ed2c5505909b7766 (patch)
treeaa6e4181faf19cffeebcf15d7e91cee29a23a341 /data/templates/pppoe/ip-up.script.tmpl
parent1c04b2707cb5af2fb403041b95c7aa44ca258b31 (diff)
downloadvyos-1x-17e9f97cbbc713bd01876296ed2c5505909b7766.tar.gz
vyos-1x-17e9f97cbbc713bd01876296ed2c5505909b7766.zip
pppoe: T2585: fix template for on-demand dialing
Commit 65fa21f5e ("ifconfig: T2653: move pppoe interface to get_config_dict()") directly takes the configuration keys from the CLI config and thus the keys used for template generation have not been updated appropriately.
Diffstat (limited to 'data/templates/pppoe/ip-up.script.tmpl')
-rw-r--r--data/templates/pppoe/ip-up.script.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/pppoe/ip-up.script.tmpl b/data/templates/pppoe/ip-up.script.tmpl
index 6adea4bd7..8009b2e6f 100644
--- a/data/templates/pppoe/ip-up.script.tmpl
+++ b/data/templates/pppoe/ip-up.script.tmpl
@@ -6,7 +6,7 @@ if [ "$6" != "{{ ifname }}" ]; then
exit
fi
-{% if not on_demand %}
+{% if not connect_on_demand %}
# add some info to syslog
DIALER_PID=$(cat /var/run/{{ ifname }}.pid)
logger -t pppd[$DIALER_PID] "executing $0"