mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 15:34:30 +00:00
Redistribute table related configs fail for BGP and OSPF
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Don Slide <dslice@cumulusnetworks.com> Ticket: CM-9295
This commit is contained in:
parent
30a3822f2b
commit
a48f437a90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user