Merge pull request #6824 from liweitianux/patch-1

ospfd: Fix Zebra route add message truncation issue
This commit is contained in:
Donald Sharp 2020-07-30 14:34:34 -04:00 committed by GitHub
commit a8c6e6e895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,7 @@ void ospf_zebra_add(struct ospf *ospf, struct prefix_ipv4 *p,
count++;
if (IS_DEBUG_OSPF(zebra, ZEBRA_REDISTRIBUTE)) {
char buf[2][INET_ADDRSTRLEN];
char buf[2][PREFIX2STR_BUFFER];
struct interface *ifp;
ifp = if_lookup_by_index(path->ifindex, ospf->vrf_id);