diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-08 22:27:21 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-08 22:27:21 +0200 |
commit | 6474b89e2dca1abff79ad385992d2302ce033e93 (patch) | |
tree | e50adf3ef1d30c88598da787b7e634065f7ebcfe /src | |
parent | 091e921fe433bbeedae24224400186c2b705dbe8 (diff) | |
download | vyos-1x-6474b89e2dca1abff79ad385992d2302ce033e93.tar.gz vyos-1x-6474b89e2dca1abff79ad385992d2302ce033e93.zip |
wireguard: T2244: fix writing PSK
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/interfaces-wireguard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py index 4ff9f1395..8a44fe5e7 100755 --- a/src/conf_mode/interfaces-wireguard.py +++ b/src/conf_mode/interfaces-wireguard.py @@ -295,7 +295,7 @@ def apply(wg): if peer['psk']: psk_file = '/config/auth/wireguard/psk' with open(psk_file, 'w') as f: - f.write(peer['psk'])) + f.write(peer['psk']) w.config['psk'] = psk_file w.update() |