diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-22 00:21:37 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-22 00:21:37 +0100 |
commit | 1ab7b853114cced73b92c91f98b223402169779c (patch) | |
tree | 65194ba2a2be0937f38e8c8fa1b2db4d191bf682 /src/conf_mode/vpn_ipsec.py | |
parent | 45b16864b11ea49087ce4a279e2c0e741a97c0ee (diff) | |
download | vyos-1x-1ab7b853114cced73b92c91f98b223402169779c.tar.gz vyos-1x-1ab7b853114cced73b92c91f98b223402169779c.zip |
ipsec: T4593: Remove references to deleted variables
Diffstat (limited to 'src/conf_mode/vpn_ipsec.py')
-rwxr-xr-x | src/conf_mode/vpn_ipsec.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py index 8263358ea..d207c63df 100755 --- a/src/conf_mode/vpn_ipsec.py +++ b/src/conf_mode/vpn_ipsec.py @@ -540,8 +540,7 @@ def generate(ipsec): cleanup_pki_files() if not ipsec: - for config_file in [ipsec_conf, ipsec_secrets, charon_dhcp_conf, - charon_radius_conf, interface_conf, swanctl_conf]: + for config_file in [charon_dhcp_conf, charon_radius_conf, interface_conf, swanctl_conf]: if os.path.isfile(config_file): os.unlink(config_file) render(charon_conf, 'ipsec/charon.j2', {'install_routes': default_install_routes}) |