summaryrefslogtreecommitdiff
path: root/pimd/pim_tib.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2022-10-29 16:57:51 -0500
committerGitHub <noreply@github.com>2022-10-29 16:57:51 -0500
commitfdd78b6dae65d11d03db3652a3c89329aefc6718 (patch)
tree21f93c7db33edf63b0496657798b84364deb36a1 /pimd/pim_tib.c
parent109fe83ac07dbb72de340f7edfbcecfc4f0e4f06 (diff)
parent08d794556d9d530e27fedab45f16cb1f2b3822df (diff)
Merge pull request #12214 from FRRouting/mergify/bp/dev/8.4/pr-12211
pimd: fixing some coverity issues (backport #12211)
Diffstat (limited to 'pimd/pim_tib.c')
-rw-r--r--pimd/pim_tib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pimd/pim_tib.c b/pimd/pim_tib.c
index 8f5de3e938..3455e30064 100644
--- a/pimd/pim_tib.c
+++ b/pimd/pim_tib.c
@@ -49,7 +49,8 @@ tib_sg_oil_setup(struct pim_instance *pim, pim_sgaddr sg, struct interface *oif)
if (up) {
memcpy(&nexthop, &up->rpf.source_nexthop,
sizeof(struct pim_nexthop));
- pim_ecmp_nexthop_lookup(pim, &nexthop, vif_source, &grp, 0);
+ (void)pim_ecmp_nexthop_lookup(pim, &nexthop, vif_source, &grp,
+ 0);
if (nexthop.interface)
input_iface_vif_index = pim_if_find_vifindex_by_ifindex(
pim, nexthop.interface->ifindex);