From 7be3368205b44ffb57342424a8ec54457e832156 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 25 Nov 2018 22:08:52 +0100 Subject: T1034: fix the ipv4-unicast redistribute ospf command. Turns our the code is sensitive to extra spaces. --- scripts/bgp/vyatta-bgp.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/bgp') 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', -- cgit v1.2.3