summaryrefslogtreecommitdiff
path: root/scripts/vyatta-op-vpnprof.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-06-24 13:35:44 +0200
committerDaniil Baturin <daniil@baturin.org>2018-06-24 13:35:44 +0200
commitc2f8d1a44defeadefcda560ba8a3883e25e24831 (patch)
tree1eead2a9118b556932ca10e398d8d94f510b70ac /scripts/vyatta-op-vpnprof.pl
parenta88aa2e1a16e1ac1af1fa3b19cb2b88c7783af37 (diff)
parent9324923d31d389110e2ab882a035982e2b269417 (diff)
downloadvyatta-op-vpn-lithium.tar.gz
vyatta-op-vpn-lithium.zip
Merge branch 'current' into lithiumlithium
Conflicts: lib/OPMode.pm scripts/vyatta-show-ipsec-status.pl templates/show/vpn/ipsec/sa/node.def templates/show/vpn/ipsec/sa/peer/node.def templates/show/vpn/ipsec/status/node.def
Diffstat (limited to 'scripts/vyatta-op-vpnprof.pl')
-rw-r--r--scripts/vyatta-op-vpnprof.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-op-vpnprof.pl b/scripts/vyatta-op-vpnprof.pl
index 72124fa..4da46c4 100644
--- a/scripts/vyatta-op-vpnprof.pl
+++ b/scripts/vyatta-op-vpnprof.pl
@@ -52,11 +52,11 @@ if ( defined $show_ipsec_sa_profile_detail ) {
Vyatta::vpnprof::OPMode::show_ipsec_sa_profile_detail(
$show_ipsec_sa_profile_detail);
}
-if ( defined @show_ipsec_sa_conn_detail ) {
+if ( @show_ipsec_sa_conn_detail ) {
Vyatta::vpnprof::OPMode::show_ipsec_sa_conn_detail(
@show_ipsec_sa_conn_detail);
}
-if ( defined @show_ipsec_sa_conn ) {
+if ( @show_ipsec_sa_conn ) {
Vyatta::vpnprof::OPMode::show_ipsec_sa_conn(@show_ipsec_sa_conn);
}
if ( defined $show_ipsec_sa_stats ) {
@@ -66,7 +66,7 @@ if ( defined $show_ipsec_sa_stats_profile ) {
Vyatta::vpnprof::OPMode::show_ipsec_sa_stats_profile(
$show_ipsec_sa_stats_profile);
}
-if ( defined @show_ipsec_sa_stats_conn ) {
+if ( @show_ipsec_sa_stats_conn ) {
Vyatta::vpnprof::OPMode::show_ipsec_sa_stats_conn(
@show_ipsec_sa_stats_conn);
}