diff options
author | jules-vyos <vyos@ourhouse.org.uk> | 2017-09-03 21:25:50 +0100 |
---|---|---|
committer | jules-vyos <vyos@ourhouse.org.uk> | 2017-09-03 21:25:50 +0100 |
commit | f6f567b8b168dbe0d4bdb1b08c0f84faa0d362cb (patch) | |
tree | 1ce5e1911f588045a92e385cde8dd7630ffb47d7 /templates/show/vpn/ipsec | |
parent | c322d07f1d1568ff1ea9a7a85efd825e42cba9d1 (diff) | |
download | vyatta-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/show/vpn/ipsec')
-rw-r--r-- | templates/show/vpn/ipsec/sa/node.def | 2 |
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 |