summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-06-08 09:01:39 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-06-08 09:01:39 +0000
commit90faa47c711d1e0208ac8489064e3289075eda99 (patch)
tree23fb1e3f0f7b943b140761691bedae04ff20f2ab /data
parentf506ba43d44a4218e44b350721de1c890e62998a (diff)
downloadvyos-1x-90faa47c711d1e0208ac8489064e3289075eda99.tar.gz
vyos-1x-90faa47c711d1e0208ac8489064e3289075eda99.zip
l2tp: T2565: Add missing gw-ip-address
Diffstat (limited to 'data')
-rw-r--r--data/templates/accel-ppp/l2tp.config.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.tmpl b/data/templates/accel-ppp/l2tp.config.tmpl
index 8878e3175..b0ef17525 100644
--- a/data/templates/accel-ppp/l2tp.config.tmpl
+++ b/data/templates/accel-ppp/l2tp.config.tmpl
@@ -100,6 +100,9 @@ nas-ip-address={{ radius_nas_ip }}
bind={{ radius_source_address }}
{% endif -%}
{% endif %}
+{% if gateway_address %}
+gw-ip-address={{ gateway_address }}
+{% endif %}
[ppp]
verbose=1