diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-28 20:14:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 20:14:45 +0200 |
commit | f54a877b93fb2a72c956d934938baa15f48e087c (patch) | |
tree | 6e80eb99ed16a6811cf498eef1c128b1db6cec3e | |
parent | df02d40fe93cd1ca9f7248a30ccc2f78c0527a44 (diff) | |
parent | 6f26e2694c14fb62d83840c33e39ef61966e0a77 (diff) | |
download | vyos-1x-f54a877b93fb2a72c956d934938baa15f48e087c.tar.gz vyos-1x-f54a877b93fb2a72c956d934938baa15f48e087c.zip |
Merge pull request #1048 from sever-sever/T3951
op-mode: T3951: Fix for reset IPSec tunnels
-rwxr-xr-x | src/op_mode/vpn_ipsec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/vpn_ipsec.py b/src/op_mode/vpn_ipsec.py index 06e227ccf..40854fa8f 100755 --- a/src/op_mode/vpn_ipsec.py +++ b/src/op_mode/vpn_ipsec.py @@ -48,7 +48,7 @@ def reset_peer(peer, tunnel): result = True for conn in conns: try: - call(f'sudo /usr/sbin/ipsec down {conn}', timeout = 10) + call(f'sudo /usr/sbin/ipsec down {conn}{{*}}', timeout = 10) call(f'sudo /usr/sbin/ipsec up {conn}', timeout = 10) except TimeoutExpired as e: print(f'Timed out while resetting {conn}') |