summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2011-01-13 17:11:49 -0800
committerRobert Bays <robert@vyatta.com>2011-01-13 17:11:49 -0800
commitfe24cd8d09b749a263342c765ddb0ab5920234e5 (patch)
tree19de8dc964482d5be344363f431e8ec554f47f46
parentc7b083106287db50d29f03956de2e8fa001d1cea (diff)
downloadvyatta-cfg-quagga-fe24cd8d09b749a263342c765ddb0ab5920234e5.tar.gz
vyatta-cfg-quagga-fe24cd8d09b749a263342c765ddb0ab5920234e5.zip
silence the perl critic
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 383f085a..2ccf4724 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -1270,7 +1270,7 @@ sub confed_iBGP_ASN {
#my @neighbors = $config->listNodes('neighbor');
my @neighbors = $config->listOrigNodes('neighbor');
- foreach $neighbor (@neighbors) {
+ foreach my $neighbor (@neighbors) {
my $remoteas = $config->returnValue("neighbor $neighbor remote-as");
if ("$testas" eq "$remoteas") {
exit 1;