summaryrefslogtreecommitdiff
path: root/scripts/vyatta-op-vpnprof.pl
diff options
context:
space:
mode:
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);
}