summaryrefslogtreecommitdiff
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 74dfed0455..0a64c8db3d 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -352,7 +352,7 @@ int pim_ecmp_nexthop_search(struct pim_instance *pim,
struct pim_nexthop *nexthop, struct prefix *src,
struct prefix *grp, int neighbor_needed)
{
- struct pim_neighbor *nbrs[MULTIPATH_NUM], *nbr;
+ struct pim_neighbor *nbrs[MULTIPATH_NUM], *nbr = NULL;
struct interface *ifps[MULTIPATH_NUM];
struct nexthop *nh_node = NULL;
ifindex_t first_ifindex;