From: Donald Sharp Date: Mon, 12 Sep 2016 23:30:27 +0000 (-0400) Subject: pimd: Vif is not created in some startup conditions X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~231 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=80219b763ace68907c57257686b494919de84168;p=mirror%2Ffrr.git pimd: Vif is not created in some startup conditions 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 --- diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index f2789369bf..d4eb2d3252 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -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; }