summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-08 13:24:39 +0200
committerGitHub <noreply@github.com>2020-06-08 13:24:39 +0200
commitd76776ac8732694e154f73a3b3fe1b742ede6d86 (patch)
tree23fb1e3f0f7b943b140761691bedae04ff20f2ab
parentf506ba43d44a4218e44b350721de1c890e62998a (diff)
parent90faa47c711d1e0208ac8489064e3289075eda99 (diff)
downloadvyos-1x-d76776ac8732694e154f73a3b3fe1b742ede6d86.tar.gz
vyos-1x-d76776ac8732694e154f73a3b3fe1b742ede6d86.zip
Merge pull request #446 from DmitriyEshenko/fix-l2tp-003
l2tp: T2565: Add missing gw-ip-address
-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