summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-08-06 15:40:27 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-10 10:32:09 -0700
commit23adebecd0c65e465cc6fbde3a676376e28fef81 (patch)
tree98ebb4211ca865c0a41a57dd68e5329054a4e527 /scripts
parentd0ce0f3fdc14cc9559c8835f00a9dccace4ba9fe (diff)
downloadvyatta-cfg-quagga-23adebecd0c65e465cc6fbde3a676376e28fef81.tar.gz
vyatta-cfg-quagga-23adebecd0c65e465cc6fbde3a676376e28fef81.zip
fix for bug 5925
(cherry picked from commit 0773ce1032d07f7f74e2b41c0f160570a8ed66a1)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index d97a3e69..a91d16e5 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -1304,7 +1304,8 @@ sub check_for_iBGP_ASN {
my $config = new Vyatta::Config;
$config->setLevel("protocols bgp $as");
- my @neighbors = $config->listNodes('neighbor');
+ #my @neighbors = $config->listNodes('neighbor');
+ my @neighbors = $config->listOrigNodes('neighbor');
foreach $neighbor (@neighbors) {
my $remoteas = $config->returnValue("neighbor $neighbor remote-as");
if ("$testas" eq "$remoteas") {