summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-30 15:17:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-30 15:17:51 -0700
commit58c647a42ad8a75308d80c1952a2d7692ed1826b (patch)
tree84f4678b40a12d75db933deb673477fe5780ddb4 /scripts/bgp/vyatta-bgp.pl
parentb8edff006839754d6b999dc1a6f6c235dbaea9e4 (diff)
parent5312e84665a2a3596869e261ce9f6462f88505b2 (diff)
downloadvyatta-cfg-quagga-58c647a42ad8a75308d80c1952a2d7692ed1826b.tar.gz
vyatta-cfg-quagga-58c647a42ad8a75308d80c1952a2d7692ed1826b.zip
Merge branch 'jenner' of 192.168.100.1:git/vyatta-cfg-quagga into jenner
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-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 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 );