diff options
author | Marek Isalski <git@maz.nu> | 2021-08-06 14:44:48 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-11-15 21:25:18 +0100 |
commit | ef392ba9715290a5b8e8b619fc19e708fe7e442b (patch) | |
tree | 4a5c73bbde1b0648a3ac1e9960ccabe42d95d069 /src | |
parent | af1cfebaff5e98cf0e50325863def209f965abd4 (diff) | |
download | vyos-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 'src')
-rwxr-xr-x | src/conf_mode/vpn_l2tp.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/vpn_l2tp.py b/src/conf_mode/vpn_l2tp.py index e970d2ef5..86aa9af09 100755 --- a/src/conf_mode/vpn_l2tp.py +++ b/src/conf_mode/vpn_l2tp.py @@ -291,6 +291,8 @@ def get_config(config=None): # LNS secret if conf.exists(['lns', 'shared-secret']): l2tp['lns_shared_secret'] = conf.return_value(['lns', 'shared-secret']) + if conf.exists(['lns', 'host-name']): + l2tp['lns_host_name'] = conf.return_value(['lns', 'host-name']) if conf.exists(['ccp-disable']): l2tp['ccp_disable'] = True |