summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <robert@vyatta.com>2013-06-09 14:44:09 -0700
committerRobert Bays <robert@vyatta.com>2013-06-09 14:44:09 -0700
commitac27af59640cc6d54bd5d7e4737f34e23d63f589 (patch)
treeb962049b24b1202816c3ebc3eeabd5ffce967a22 /scripts
parent370986bf089cb61928341d991b5896f692e2fdc7 (diff)
downloadvyatta-cfg-quagga-ac27af59640cc6d54bd5d7e4737f34e23d63f589.tar.gz
vyatta-cfg-quagga-ac27af59640cc6d54bd5d7e4737f34e23d63f589.zip
fix bug 8968
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index ec221cc3..e2f4c481 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -1081,6 +1081,14 @@ my %qcom = (
},
);
+if ( ! -e "/usr/sbin/zebra" ) {
+ %qcom = (
+ 'protocols bgp var neighbor var remote-as' => {
+ set => 'router bgp #3 ; neighbor #5 remote-as #7',
+ },
+ );
+}
+
my ( $pg, $as, $neighbor );
my ( $main, $peername, $isneighbor, $checkpeergroups, $checkpeergroups6, $checksource,
$isiBGPpeer, $wasiBGPpeer, $confedibgpasn, $listpeergroups);