summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-10 18:51:31 +0100
committerChristian Poessinger <christian@poessinger.com>2020-03-10 18:51:31 +0100
commitb0952b9609da1a1e9d3cf4d0591525cde7a6bbb5 (patch)
treef3ed2b54e6cb1d32b2f24d10bd06093cb6732898 /src/conf_mode/interfaces-pppoe.py
parentf6bf3bdfa7ebf1fceb3cd0f8e3263d20e17e16fa (diff)
downloadvyos-1x-b0952b9609da1a1e9d3cf4d0591525cde7a6bbb5.tar.gz
vyos-1x-b0952b9609da1a1e9d3cf4d0591525cde7a6bbb5.zip
pppoe: T1318: add missing ondemand config setting
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index e9447417e..f948070ee 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -95,6 +95,9 @@ ipv6cp-use-ipaddr
{% if service_name -%}
rp_pppoe_service "{{ service_name }}"
{% endif %}
+{% if on_demand %}
+demand
+{% endif %}
"""