summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/l2tp.config.tmpl
diff options
context:
space:
mode:
authorMarek Isalski <git@maz.nu>2021-08-06 14:44:48 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-15 21:25:18 +0100
commitef392ba9715290a5b8e8b619fc19e708fe7e442b (patch)
tree4a5c73bbde1b0648a3ac1e9960ccabe42d95d069 /data/templates/accel-ppp/l2tp.config.tmpl
parentaf1cfebaff5e98cf0e50325863def209f965abd4 (diff)
downloadvyos-1x-ef392ba9715290a5b8e8b619fc19e708fe7e442b.tar.gz
vyos-1x-ef392ba9715290a5b8e8b619fc19e708fe7e442b.zip
l2tp: T3724: allow setting accel-ppp l2tp host-name
(cherry picked from commit 3d00140453b3967370c77ddd9dac4af223a7ddce)
Diffstat (limited to 'data/templates/accel-ppp/l2tp.config.tmpl')
-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 070a966b7..a2a2382fa 100644
--- a/data/templates/accel-ppp/l2tp.config.tmpl
+++ b/data/templates/accel-ppp/l2tp.config.tmpl
@@ -57,6 +57,9 @@ bind={{ outside_addr }}
{% if lns_shared_secret %}
secret={{ lns_shared_secret }}
{% endif %}
+{% if lns_host_name %}
+host-name={{ lns_host_name }}
+{% endif %}
[client-ip-range]
0.0.0.0/0