diff options
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 3 |
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") { |