diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-09-29 19:24:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 19:24:04 +0100 |
commit | 6e3334dec6143b7c18c6cec15344d84eb900ebb5 (patch) | |
tree | 04d22a1a8bfcecc419c45bd0d912e90531fde218 | |
parent | 809514ff730980baa50a8978e42497017d478b0e (diff) | |
parent | 32894ffed6761b72bc049dd55118ede78155937e (diff) | |
download | vyatta-op-vpn-1.3.4.tar.gz vyatta-op-vpn-1.3.4.zip |
T5625: allow "restart vpn" to work when ipsec-interfaces is not set
-rw-r--r-- | templates/restart/vpn/node.def.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/restart/vpn/node.def.in b/templates/restart/vpn/node.def.in index 4366d19..ad426bb 100644 --- a/templates/restart/vpn/node.def.in +++ b/templates/restart/vpn/node.def.in @@ -1,6 +1,5 @@ help: Restart IPsec VPN -run: if [ -n "$(cli-shell-api returnActiveValues \ - vpn ipsec ipsec-interfaces interface)" ]; then +run: if [ -n "$(cli-shell-api returnActiveValues vpn ipsec)" ]; then if pgrep charon > /dev/null then @SUDOUSRDIR@/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process |