From: Daniel Walton Date: Fri, 19 Feb 2016 13:31:26 +0000 (+0000) Subject: Redistribute table related configs fail for BGP and OSPF X-Git-Tag: frr-2.0-rc1~1120 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a48f437a90ab9fa28e3f84da14366dc5ef29fa99;p=mirror%2Ffrr.git Redistribute table related configs fail for BGP and OSPF Signed-off-by: Daniel Walton Reviewed-by: Don Slide Ticket: CM-9295 --- diff --git a/lib/log.c b/lib/log.c index 6dad0a0c0a..ad610050f8 100644 --- a/lib/log.c +++ b/lib/log.c @@ -961,7 +961,7 @@ proto_redistnum(int afi, const char *s) return ZEBRA_ROUTE_ISIS; else if (strncmp (s, "bg", 2) == 0) return ZEBRA_ROUTE_BGP; - else if (strncmp (s, "ba", 2) == 0) + else if (strncmp (s, "ta", 2) == 0) return ZEBRA_ROUTE_TABLE; } if (afi == AFI_IP6) @@ -980,7 +980,7 @@ proto_redistnum(int afi, const char *s) return ZEBRA_ROUTE_ISIS; else if (strncmp (s, "bg", 2) == 0) return ZEBRA_ROUTE_BGP; - else if (strncmp (s, "ba", 2) == 0) + else if (strncmp (s, "ta", 2) == 0) return ZEBRA_ROUTE_TABLE; } return -1;