summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-02 20:31:43 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-02 20:31:43 +0200
commitdf59d92fe83ac2e3b15145e437d0a5130680eaca (patch)
tree15fc6cd1c670969198ba5c66f99fbc4697390bb6
parente467ef23b2429db80c8be1576f2eb3feea8d759e (diff)
downloadvyos-1x-df59d92fe83ac2e3b15145e437d0a5130680eaca.tar.gz
vyos-1x-df59d92fe83ac2e3b15145e437d0a5130680eaca.zip
pppoe: vrf: bugfix - only pppoe0 could be assigned to a VRF
-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 f318614db..806e362fd 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -155,7 +155,7 @@ config_pppoe_ip_pre_up_tmpl = """#!/bin/sh
# As PPPoE is an "on demand" interface we need to re-configure it when it
# becomes up
-if [ "$6" != "pppoe0" ]; then
+if [ "$6" != "{{ intf }}" ]; then
exit
fi