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:40:29 +0200
commit8fc06b5f8bbfcc49e69406fd70cd5cd42fb6d39f (patch)
tree49412cdaa7cb0fbdba9fa54befec61fa11625c8f /data/templates
parent387252e15b083a8eefe2bec7417194fe9b44f471 (diff)
downloadvyos-1x-8fc06b5f8bbfcc49e69406fd70cd5cd42fb6d39f.tar.gz
vyos-1x-8fc06b5f8bbfcc49e69406fd70cd5cd42fb6d39f.zip
pppoe: T1318: set source interface next to rp-pppoe.so plugin in peer template
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 7803a247d..928ed1238 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 }}