From 80219b763ace68907c57257686b494919de84168 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 12 Sep 2016 19:30:27 -0400 Subject: [PATCH] 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 --- pimd/pim_zebra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5