mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 00:56:19 +00:00
pimd: Zero out nhop being used
Zero out the lookup nexthop for usage, prevent a crash. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
5eec4615a2
commit
2ccc414b19
@ -899,6 +899,8 @@ int pim_ecmp_fib_lookup_if_vif_index(struct pim_instance *pim,
|
||||
if (PIM_DEBUG_PIM_NHT)
|
||||
pim_inet4_dump("<addr?>", src->u.prefix4, addr_str,
|
||||
sizeof(addr_str));
|
||||
|
||||
memset(&nhop, 0, sizeof(nhop));
|
||||
if (!pim_ecmp_nexthop_lookup(pim, &nhop, src, grp, 0)) {
|
||||
if (PIM_DEBUG_PIM_NHT)
|
||||
zlog_debug(
|
||||
|
Loading…
Reference in New Issue
Block a user