summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-03 06:45:22 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-03 06:45:22 +0200
commit551e41895953bb291fc10bdb9ba2a07e83310070 (patch)
treea44e10a5764e4493465d77f43ea2936806dddf0e /src/conf_mode/interfaces-pppoe.py
parent393dabe6f1ba9b298864a9ef6f7ea5592170f57c (diff)
downloadvyos-1x-551e41895953bb291fc10bdb9ba2a07e83310070.tar.gz
vyos-1x-551e41895953bb291fc10bdb9ba2a07e83310070.zip
pppoe: bugfix template name after migration to ip-up scripts
Commit 6a0c6783d8b2 ("pppoe: migrate alias and vrf script from pre-up to up") changed the name of the ip-up script template but the template definition has been forgotten. This caused: NameError: name 'config_pppoe_ip_up_tmpl' is not defined
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index ec7ba3c0d..d432377e8 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -148,7 +148,7 @@ echo 1 > /proc/sys/net/ipv6/conf/{{ intf }}/autoconfigure
{% endif %}
"""
-config_pppoe_ip_pre_up_tmpl = """#!/bin/sh
+config_pppoe_ip_up_tmpl = """#!/bin/sh
# As PPPoE is an "on demand" interface we need to re-configure it when it
# becomes up