summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_ipsec.py
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-02-22 00:21:37 +0100
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-02-22 00:21:37 +0100
commit1ab7b853114cced73b92c91f98b223402169779c (patch)
tree65194ba2a2be0937f38e8c8fa1b2db4d191bf682 /src/conf_mode/vpn_ipsec.py
parent45b16864b11ea49087ce4a279e2c0e741a97c0ee (diff)
downloadvyos-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-xsrc/conf_mode/vpn_ipsec.py3
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})