summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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);