summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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