summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-09-29 17:47:36 +0100
committerDaniil Baturin <daniil@baturin.org>2023-09-29 17:47:36 +0100
commit32894ffed6761b72bc049dd55118ede78155937e (patch)
tree04d22a1a8bfcecc419c45bd0d912e90531fde218
parent809514ff730980baa50a8978e42497017d478b0e (diff)
downloadvyatta-op-vpn-32894ffed6761b72bc049dd55118ede78155937e.tar.gz
vyatta-op-vpn-32894ffed6761b72bc049dd55118ede78155937e.zip
T5625: allow "restart vpn" to work when ipsec-interfaces is not set
-rw-r--r--templates/restart/vpn/node.def.in3
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