summaryrefslogtreecommitdiff
path: root/op-mode-definitions/vpn-ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-02 12:45:25 +0200
committerGitHub <noreply@github.com>2021-07-02 12:45:25 +0200
commit15d8cc3ad93b69bcda98c8644a6e10e02cbeaf44 (patch)
tree55987b6d51c5fc9ee92689b235176df941a91f95 /op-mode-definitions/vpn-ipsec.xml.in
parentc232fdc4c5464858818f1a83c35ed5d0b7fba15a (diff)
parentf480346bb8e934b1ce2e0fc3be23f7168273bba1 (diff)
downloadvyos-1x-15d8cc3ad93b69bcda98c8644a6e10e02cbeaf44.tar.gz
vyos-1x-15d8cc3ad93b69bcda98c8644a6e10e02cbeaf44.zip
Merge pull request #903 from sarthurdev/T3659_T3656
ipsec: T3656: T3659: Fix passthrough with ipv6. Fix op-mode ipsec commands. Remove python3-crypto dependency.
Diffstat (limited to 'op-mode-definitions/vpn-ipsec.xml.in')
-rw-r--r--op-mode-definitions/vpn-ipsec.xml.in2
1 files changed, 1 insertions, 1 deletions
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 @@
<properties>
<help>Restart IPSec VPN</help>
</properties>
- <command>if pgrep charon >/dev/null ; then sudo /usr/sbin/ipsec restart ; else echo "IPSec process not running" ; fi</command>
+ <command>if pgrep charon >/dev/null ; then sudo ipsec restart ; sleep 3 ; sudo swanctl -q ; else echo "IPSec process not running" ; fi</command>
</node>
</children>
</node>