summaryrefslogtreecommitdiff
path: root/scripts/bgp
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2010-08-06 15:40:27 -0700
committerRobert Bays <robert@vyatta.com>2010-08-06 15:40:27 -0700
commit0773ce1032d07f7f74e2b41c0f160570a8ed66a1 (patch)
treef162eb72b28452b082493b596ad0a8f6498b6e15 /scripts/bgp
parent25b624f8bb553b1524f0e303db5c7b19072e45d5 (diff)
downloadvyatta-cfg-quagga-0773ce1032d07f7f74e2b41c0f160570a8ed66a1.tar.gz
vyatta-cfg-quagga-0773ce1032d07f7f74e2b41c0f160570a8ed66a1.zip
fix for bug 5925
Diffstat (limited to 'scripts/bgp')
-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") {