summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-22 06:45:01 +0100
committerGitHub <noreply@github.com>2023-02-22 06:45:01 +0100
commit8dc1eece67124678abe21aef9c6392bc2cd78612 (patch)
tree7b565915591cfc4189676aedf281f8adbbb19593 /src/conf_mode
parent0a36a0306a451e81c291c5a252ece7b3ef2d6804 (diff)
parent1ab7b853114cced73b92c91f98b223402169779c (diff)
downloadvyos-1x-8dc1eece67124678abe21aef9c6392bc2cd78612.tar.gz
vyos-1x-8dc1eece67124678abe21aef9c6392bc2cd78612.zip
Merge pull request #1839 from sarthurdev/ipsec
ipsec: T4593: Remove references to deleted variables
Diffstat (limited to 'src/conf_mode')
-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})