From ea7240f35dece00c40a00976ebe164dc728c598c Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
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