From f480346bb8e934b1ce2e0fc3be23f7168273bba1 Mon Sep 17 00:00:00 2001
From: sarthurdev <965089+sarthurdev@users.noreply.github.com>
Date: Fri, 2 Jul 2021 10:57:32 +0200
Subject: ipsec: T3656: T3659: Fix pass-through with ipv6. Fix op-mode ipsec
commands. Remove python3-crypto dependency.
---
op-mode-definitions/vpn-ipsec.xml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'op-mode-definitions')
diff --git a/op-mode-definitions/vpn-ipsec.xml.in b/op-mode-definitions/vpn-ipsec.xml.in
index 76f4893c1..fe0597eed 100644
--- a/op-mode-definitions/vpn-ipsec.xml.in
+++ b/op-mode-definitions/vpn-ipsec.xml.in
@@ -101,7 +101,7 @@
Restart IPSec VPN
- if pgrep charon >/dev/null ; then sudo /usr/sbin/ipsec restart ; else echo "IPSec process not running" ; fi
+ if pgrep charon >/dev/null ; then sudo ipsec restart ; sleep 3 ; sudo swanctl -q ; else echo "IPSec process not running" ; fi
--
cgit v1.2.3