summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-04 12:11:23 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-04 12:11:23 +0200
commitf4e9248d2a24fc4fd0cdc7089aed0193d7a2884f (patch)
tree4069629e4ff2fb88e44bedde3d6754e80f53a457 /data/templates/accel-ppp/pppoe.config.tmpl
parentfe6326c96e6e481fc4498c10c493dfd393c3956c (diff)
downloadvyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.tar.gz
vyos-1x-f4e9248d2a24fc4fd0cdc7089aed0193d7a2884f.zip
pppoe-server: T2953: rename CLI local-ip to gateway-address
Required to get a common CLI for all services provided by Accel-PPP. Once the CLI for each service is consitent - Jinja2 templates can be reused together with get_config_dict().
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.tmpl')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index acc7df0a2..8f1b9e7c5 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -92,8 +92,8 @@ dae-server={{ authentication.radius.dynamic_author.server }}:{{ authentication.r
{% endif -%}
{% endif %}
-{% if local_ip is defined and local_ip is not none %}
-gw-ip-address={{ local_ip }}
+{% if gateway_address is defined and gateway_address is not none %}
+gw-ip-address={{ gateway_address }}
{% endif %}
{% if session_control is defined and session_control != 'disable' %}