summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-03-08 13:09:16 -0600
committerJohn Southworth <john.southworth@vyatta.com>2011-03-08 13:09:16 -0600
commitf4c48943ae8c534ea1ecc1d8e2f7926b9b56f88d (patch)
treea677fbd64295ee53dfba4813d249909f554fd191
parentc68f5c46e76596ad5d6abecb68d2c10457310cdb (diff)
downloadvyatta-op-vpn-f4c48943ae8c534ea1ecc1d8e2f7926b9b56f88d.tar.gz
vyatta-op-vpn-f4c48943ae8c534ea1ecc1d8e2f7926b9b56f88d.zip
Fix perlcritic error
-rw-r--r--scripts/vyatta-show-ipsec-status.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/vyatta-show-ipsec-status.pl b/scripts/vyatta-show-ipsec-status.pl
index 7ecce30..eb3f053 100644
--- a/scripts/vyatta-show-ipsec-status.pl
+++ b/scripts/vyatta-show-ipsec-status.pl
@@ -38,7 +38,8 @@ sub get_vpn_intfs {
$config->setLevel('vpn ipsec');
my @vpn_intfs = ();
@vpn_intfs = $config->returnOrigValues('ipsec-interfaces interface');
- return sort @vpn_intfs;
+ my @return = sort(@vpn_intfs);
+ return @return;
}
sub get_vpn_all_localips {