summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 15:25:31 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-22 09:56:56 +0200
commit5567b9ae59cdd2137fa7d7250fd84f31093eb1cc (patch)
tree3c58ffd6982e1ab79cbc34c4525d06224771ad1a /data/templates
parentbebe2ede796a65bbd926d2dca32abe551deb0445 (diff)
downloadvyos-1x-5567b9ae59cdd2137fa7d7250fd84f31093eb1cc.tar.gz
vyos-1x-5567b9ae59cdd2137fa7d7250fd84f31093eb1cc.zip
pppoe: T1318: set source interface next to rp-pppoe.so plugin in peer template
(cherry picked from commit 8fc06b5f8bbfcc49e69406fd70cd5cd42fb6d39f)
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/pppoe/peer.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/pppoe/peer.tmpl b/data/templates/pppoe/peer.tmpl
index 818f40745..f416f9947 100644
--- a/data/templates/pppoe/peer.tmpl
+++ b/data/templates/pppoe/peer.tmpl
@@ -34,7 +34,7 @@ noproxyarp
# Unlimited connection attempts
maxfail 0
-plugin rp-pppoe.so
+plugin rp-pppoe.so {{ source_interface }}
{% if access_concentrator is defined and access_concentrator is not none %}
rp_pppoe_ac '{{ access_concentrator }}'
{% endif %}
@@ -42,7 +42,6 @@ rp_pppoe_ac '{{ access_concentrator }}'
rp_pppoe_service '{{ service_name }}'
{% endif %}
-{{ source_interface }}
persist
ifname {{ ifname }}
ipparam {{ ifname }}