summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-25 22:08:52 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-25 22:14:00 +0100
commit7be3368205b44ffb57342424a8ec54457e832156 (patch)
tree8f88a19d184f88c85fa16f684df5ca52fa3d612a /scripts
parentb044a897acb35c31df7756e3d6d0c70bb2aab9da (diff)
downloadvyatta-cfg-quagga-7be3368205b44ffb57342424a8ec54457e832156.tar.gz
vyatta-cfg-quagga-7be3368205b44ffb57342424a8ec54457e832156.zip
T1034: fix the ipv4-unicast redistribute ospf command.
Turns our the code is sensitive to extra spaces.
Diffstat (limited to 'scripts')
-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 522a0788..7431405c 100755
--- a/scripts/bgp/vyatta-bgp.pl
+++ b/scripts/bgp/vyatta-bgp.pl
@@ -170,7 +170,7 @@ my %qcom = (
del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute kernel',
noerr => 'set',
},
- 'protocols bgp var address-family ipv4-unicast redistribute ospf' => {
+ 'protocols bgp var address-family ipv4-unicast redistribute ospf' => {
set => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute ospf ; redistribute ospf ?route-map ?metric',
del => 'router bgp #3 ; address-family ipv4 unicast ; no redistribute ospf',
noerr => 'set',