]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Vif is not created in some startup conditions
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 12 Sep 2016 23:30:27 +0000 (19:30 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:09 +0000 (20:26 -0500)
When rebooting a switch, if under unnumbered config
there exists a situation where some interfaces
may not create the vif in the kernel.

Ticket: CM-12830
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zebra.c

index f2789369bff0414bb2dfce31529eac7da3ead844..d4eb2d32521189e1cb0d1ea2cf2031b2ea4aef66 100644 (file)
@@ -264,9 +264,9 @@ static int pim_zebra_if_address_add(int command, struct zclient *zclient,
         }
       if (!v4addrs && pim_ifp) 
        {
-
          pim_ifp->primary_address = pim_find_primary_addr (c->ifp);
          pim_if_addr_add_all (c->ifp);
+          pim_if_add_vif (c->ifp);
        }
       return 0;
     }