diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-18 12:38:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-18 14:31:51 +0200 |
commit | 267b3213ef0e6ac4501470bef797796276879421 (patch) | |
tree | 7d2ede2263d72ea3c3ac03f735ba8932da8181b7 /src/conf_mode/vpn_sstp.py | |
parent | 901d5e89ec6e3fb0f3d13f90f0495a4dda592454 (diff) | |
download | vyos-1x-267b3213ef0e6ac4501470bef797796276879421.tar.gz vyos-1x-267b3213ef0e6ac4501470bef797796276879421.zip |
accel-ppp: T2314: use common tempplate for chap-secrets
Diffstat (limited to 'src/conf_mode/vpn_sstp.py')
-rwxr-xr-x | src/conf_mode/vpn_sstp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/vpn_sstp.py b/src/conf_mode/vpn_sstp.py index 7c96241b1..9ec352290 100755 --- a/src/conf_mode/vpn_sstp.py +++ b/src/conf_mode/vpn_sstp.py @@ -312,10 +312,10 @@ def generate(sstp): os.mkdir(dirname) # accel-cmd reload doesn't work so any change results in a restart of the daemon - render(sstp_conf, 'sstp/sstp.config.tmpl', sstp, trim_blocks=True) + render(sstp_conf, 'accel-ppp/sstp.config.tmpl', sstp, trim_blocks=True) if sstp['local_users']: - render(sstp_chap_secrets, 'sstp/chap-secrets.tmpl', sstp, trim_blocks=True) + render(sstp_chap_secrets, 'accel-ppp/chap-secrets.tmpl', sstp, trim_blocks=True) os.chmod(sstp_chap_secrets, S_IRUSR | S_IWUSR | S_IRGRP) else: if os.path.exists(sstp_chap_secrets): |