summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorjules-vyos <vyos@ourhouse.org.uk>2017-09-03 21:25:50 +0100
committerjules-vyos <vyos@ourhouse.org.uk>2017-09-03 21:25:50 +0100
commitf6f567b8b168dbe0d4bdb1b08c0f84faa0d362cb (patch)
tree1ce5e1911f588045a92e385cde8dd7630ffb47d7 /templates
parentc322d07f1d1568ff1ea9a7a85efd825e42cba9d1 (diff)
downloadvyatta-op-vpn-f6f567b8b168dbe0d4bdb1b08c0f84faa0d362cb.tar.gz
vyatta-op-vpn-f6f567b8b168dbe0d4bdb1b08c0f84faa0d362cb.zip
Fixes for show vpn ike sa and show vpn ipsec sa
Fixed 'show vpn ike sa' to actually show output when the tunnel isn't up. Foxed 'show vpn ipsec sa' to actually use the pretty-printing code, rather than swanctl --list-sas, which is pretty unpleasant.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/vpn/ipsec/sa/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show/vpn/ipsec/sa/node.def b/templates/show/vpn/ipsec/sa/node.def
index 99a5cc1..7f569bd 100644
--- a/templates/show/vpn/ipsec/sa/node.def
+++ b/templates/show/vpn/ipsec/sa/node.def
@@ -1,6 +1,6 @@
help: Show all active IPsec Security Associations (SA)
run: if pgrep charon >&/dev/null; then
- sudo /usr/sbin/swanctl --list-sas
+ sudo /opt/vyatta/bin/sudo-users/vyatta-op-vpn.pl --show-ipsec-sa
else
echo -e "IPSec Process NOT Running\n"
fi