summaryrefslogtreecommitdiff
path: root/src/conf_mode/vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-22 19:56:19 +0200
committerChristian Poessinger <christian@poessinger.com>2021-07-22 20:01:35 +0200
commit4e4dacee281059fdbca6531ace53f22817a62650 (patch)
treee68e41052c4620c4bf40c5cf73b3891a7ea7e967 /src/conf_mode/vpn_ipsec.py
parent2495ea2f010474f8eb673d9ccd89429a127c1edc (diff)
downloadvyos-1x-4e4dacee281059fdbca6531ace53f22817a62650.tar.gz
vyos-1x-4e4dacee281059fdbca6531ace53f22817a62650.zip
ipsec: T2816: remove "auto-update" CLI option
Update/refresh of DNS records is now handled internally by Strongswan.
Diffstat (limited to 'src/conf_mode/vpn_ipsec.py')
-rwxr-xr-xsrc/conf_mode/vpn_ipsec.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf_mode/vpn_ipsec.py b/src/conf_mode/vpn_ipsec.py
index c50724592..f1c6b216b 100755
--- a/src/conf_mode/vpn_ipsec.py
+++ b/src/conf_mode/vpn_ipsec.py
@@ -544,10 +544,7 @@ def apply(ipsec):
if not ipsec:
call('sudo ipsec stop')
else:
- args = ''
- if 'auto_update' in ipsec:
- args = '--auto-update ' + ipsec['auto_update']
- call(f'sudo ipsec restart {args}')
+ call('sudo ipsec restart')
call('sudo ipsec rereadall')
call('sudo ipsec reload')