diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-02-25 16:01:42 -0600 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-02-25 16:01:42 -0600 |
commit | c6c593fe13f62af4cc50862ba4921f6b5279de5f (patch) | |
tree | 0622bbe7b82f6bfbba364dafd7b09402f2a4f685 /scripts/vyatta-op-vpn.pl | |
parent | 57f7c8ea39d70423958598fe43b9cfaf804deffd (diff) | |
download | vyatta-op-vpn-c6c593fe13f62af4cc50862ba4921f6b5279de5f.tar.gz vyatta-op-vpn-c6c593fe13f62af4cc50862ba4921f6b5279de5f.zip |
Fix 'show vpn ike status'
Diffstat (limited to 'scripts/vyatta-op-vpn.pl')
-rwxr-xr-x | scripts/vyatta-op-vpn.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/vyatta-op-vpn.pl b/scripts/vyatta-op-vpn.pl index 85856f3..d6648ae 100755 --- a/scripts/vyatta-op-vpn.pl +++ b/scripts/vyatta-op-vpn.pl @@ -32,7 +32,7 @@ use strict; my ($get_peers_for_cli, $get_conn_for_cli, $show_ipsec_sa, $show_ipsec_sa_detail, $show_ipsec_sa_peer, $show_ipsec_sa_peer_detail, $show_ipsec_sa_natt, $show_ipsec_sa_stats, $show_ipsec_sa_stats_peer, $show_ike_sa, - $show_ike_sa_peer, $show_ike_sa_natt, $show_ike_secrets); + $show_ike_sa_peer, $show_ike_sa_natt, $show_ike_secrets, $show_ike_status); my @show_ipsec_sa_stats_conn; my @show_ipsec_sa_conn_detail; my @show_ipsec_sa_conn; @@ -52,6 +52,7 @@ GetOptions("show-ipsec-sa!" => \$show_ipsec_sa, "show-ike-sa!" => \$show_ike_sa, "show-ike-sa-peer=s" => \$show_ike_sa_peer, "show-ike-sa-natt!" => \$show_ike_sa_natt, + "show-ike-status!" => \$show_ike_status, "show-ike-secrets!" => \$show_ike_secrets); if (defined $get_peers_for_cli) { @@ -93,6 +94,9 @@ if (defined @show_ipsec_sa_stats_conn) { if (defined $show_ike_sa) { Vyatta::VPN::OPMode::show_ike_sa; } +if (defined $show_ike_status) { + Vyatta::VPN::OPMode::show_ike_status; +} if (defined $show_ike_sa_peer) { Vyatta::VPN::OPMode::show_ike_sa_peer($show_ike_sa_peer); } |