summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorMarek Isalski <git@maz.nu>2021-08-06 14:44:48 +0100
committerChristian Poessinger <christian@poessinger.com>2021-10-16 19:01:15 +0200
commit3d00140453b3967370c77ddd9dac4af223a7ddce (patch)
treee22d6db2e6d249687a37a1443aafc5b82c3a3660 /data/templates
parenta98efc300c45cbfdd9b5c34561737909a77ecb22 (diff)
downloadvyos-1x-3d00140453b3967370c77ddd9dac4af223a7ddce.tar.gz
vyos-1x-3d00140453b3967370c77ddd9dac4af223a7ddce.zip
l2tp: T3724: allow setting accel-ppp l2tp host-name
Diffstat (limited to 'data/templates')
-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 44c96b935..9fcda76d4 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