mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
Merge pull request #6824 from liweitianux/patch-1
ospfd: Fix Zebra route add message truncation issue
This commit is contained in:
commit
a8c6e6e895
@ -276,7 +276,7 @@ void ospf_zebra_add(struct ospf *ospf, struct prefix_ipv4 *p,
|
|||||||
count++;
|
count++;
|
||||||
|
|
||||||
if (IS_DEBUG_OSPF(zebra, ZEBRA_REDISTRIBUTE)) {
|
if (IS_DEBUG_OSPF(zebra, ZEBRA_REDISTRIBUTE)) {
|
||||||
char buf[2][INET_ADDRSTRLEN];
|
char buf[2][PREFIX2STR_BUFFER];
|
||||||
struct interface *ifp;
|
struct interface *ifp;
|
||||||
|
|
||||||
ifp = if_lookup_by_index(path->ifindex, ospf->vrf_id);
|
ifp = if_lookup_by_index(path->ifindex, ospf->vrf_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user