From 5567b9ae59cdd2137fa7d7250fd84f31093eb1cc Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Sat, 21 Aug 2021 15:25:31 +0200
Subject: pppoe: T1318: set source interface next to rp-pppoe.so plugin in peer
 template

(cherry picked from commit 8fc06b5f8bbfcc49e69406fd70cd5cd42fb6d39f)
---
 data/templates/pppoe/peer.tmpl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'data')

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 }}
-- 
cgit v1.2.3