diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-30 15:16:38 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-03-30 15:16:38 -0700 |
commit | 5312e84665a2a3596869e261ce9f6462f88505b2 (patch) | |
tree | a7690b08ac272edc512b2390ccd3aedde9c2ca10 | |
parent | e13db37ad07d68f0fb5a25a53e69bb4a7cacdcdb (diff) | |
download | vyatta-cfg-quagga-5312e84665a2a3596869e261ce9f6462f88505b2.tar.gz vyatta-cfg-quagga-5312e84665a2a3596869e261ce9f6462f88505b2.zip |
Fix error checking of remote-as
Logic error in earlier change
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 3306654c..f6ae9e72 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.pl @@ -99,7 +99,7 @@ sub check_as { $config->setLevel("protocols bgp $as neighbor $neighbor"); my $remoteas = $config->returnValue("remote-as"); - return unless $remoteas; + return if defined $remoteas; return if ( $pg > 0 ); |