diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-11-25 22:08:52 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-11-25 22:08:52 +0100 |
commit | ea7240f35dece00c40a00976ebe164dc728c598c (patch) | |
tree | 1de5e37a84446dd8c45413d8027b152b07ed0d16 /scripts | |
parent | d64fdcbb9fc816fe6bf4a60ee8abbdd7e88f28a0 (diff) | |
download | vyatta-cfg-quagga-ea7240f35dece00c40a00976ebe164dc728c598c.tar.gz vyatta-cfg-quagga-ea7240f35dece00c40a00976ebe164dc728c598c.zip |
T1034: fix the ipv4-unicast redistribute ospf command.
Turns our the code is sensitive to extra spaces.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 2 |
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', |