summaryrefslogtreecommitdiff
path: root/scripts/bgp/vyatta-bgp.pl
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-18 13:21:08 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-18 13:21:54 +0100
commitfc99449811c67a7921ea5a68c68e5c7eea611d8c (patch)
treecc573f361e2b1e78fed32c8fcb74ff4b461626d4 /scripts/bgp/vyatta-bgp.pl
parente16e89375985d447dd5b79e8dc5fe1b0ce4bfcc3 (diff)
downloadvyatta-cfg-quagga-fc99449811c67a7921ea5a68c68e5c7eea611d8c.tar.gz
vyatta-cfg-quagga-fc99449811c67a7921ea5a68c68e5c7eea611d8c.zip
T941: add "interface" option to enable using IPv6 link-local peer addresses.
Diffstat (limited to 'scripts/bgp/vyatta-bgp.pl')
-rwxr-xr-xscripts/bgp/vyatta-bgp.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl
index 31f97dea..522a0788 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -494,6 +494,10 @@ my %qcom = (
set => 'router bgp #3 ; neighbor #5 remote-as #7 ; neighbor #5 activate',
del => 'router bgp #3 ; no neighbor #5 remote-as #7',
},
+ 'protocols bgp var neighbor var interface' => {
+ set => 'router bgp #3 ; neighbor #5 interface #7',
+ del => 'router bgp #3 ; no neighbor #5 interface #7',
+ },
'protocols bgp var neighbor var disable-capability-negotiation' => {
set => 'router bgp #3 ; neighbor #5 dont-capability-negotiate',
del => 'router bgp #3 ; no neighbor #5 dont-capability-negotiate',