]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Allow loopbacks to resolve
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 15 Sep 2016 13:03:51 +0000 (09:03 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:09 +0000 (20:26 -0500)
When doing a rpf check ensure that
if we've considered the RP to be a loopback
allow there to be no neighbor on the other
side.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zlookup.c

index d269c04254fe23a145efb7108e399073a2f1a500..636552abd77297001c6ca9307b8db5022337ab48 100644 (file)
@@ -407,7 +407,7 @@ zclient_lookup_nexthop (struct pim_zlookup_nexthop nexthop_tab[],
 
          ifp = if_lookup_by_index_vrf (nexthop_tab[i].ifindex, VRF_DEFAULT);
          nbr = pim_neighbor_find (ifp, nexthop_tab[i].nexthop_addr.u.prefix4);
-         if (!nbr)
+         if (ifp->info && !nbr && !if_is_loopback (ifp))
            {
              num_ifindex--;
              if (i != num_ifindex)