From 5f9dea92362a46b65d0164882035d9dcff86a973 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Tue, 29 Dec 2020 18:29:42 +0000 Subject: pppoe-server: T3160: Move called-sid param to required section --- data/templates/accel-ppp/config_chap_secrets_radius.j2 | 3 --- data/templates/accel-ppp/pppoe.config.tmpl | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'data/templates/accel-ppp') diff --git a/data/templates/accel-ppp/config_chap_secrets_radius.j2 b/data/templates/accel-ppp/config_chap_secrets_radius.j2 index 52d5d40e7..4e2254b21 100644 --- a/data/templates/accel-ppp/config_chap_secrets_radius.j2 +++ b/data/templates/accel-ppp/config_chap_secrets_radius.j2 @@ -22,9 +22,6 @@ nas-ip-address={{ authentication.radius.nas_ip_address }} {% if authentication.radius.source_address is defined and authentication.radius.source_address is not none %} bind={{ authentication.radius.source_address }} {% endif %} -{% if authentication.radius.called_sid_format is defined and authentication.radius.called_sid_format is not none %} -called-sid={{ authentication.radius.called_sid_format }} -{% endif %} {% if authentication.radius.dynamic_author.server is defined and authentication.radius.dynamic_author.server is not none %} dae-server={{ authentication.radius.dynamic_author.server }}:{{ authentication.radius.dynamic_author.port }},{{ authentication.radius.dynamic_author.key }} {% endif %} diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl index 1d6c1fefc..b39c4452d 100644 --- a/data/templates/accel-ppp/pppoe.config.tmpl +++ b/data/templates/accel-ppp/pppoe.config.tmpl @@ -126,6 +126,9 @@ burst={{ limits.burst }} timeout={{ limits.timeout }} {% endif %} {% endif %} +{% if authentication.radius.called_sid_format is defined and authentication.radius.called_sid_format is not none %} +called-sid={{ authentication.radius.called_sid_format }} +{% endif %} {# Common RADIUS shaper configuration #} {% include 'accel-ppp/config_shaper_radius.j2' %} -- cgit v1.2.3