summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;