From 8e403a1487df6191cf50f8997f3d5c4e0310230d Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 23 Jun 2016 11:03:47 -0400 Subject: [PATCH] pimd: Allow pimreg device to be output vif With the change to moving the pimreg to vifindex 0, when a packet is kicked up from the kernel to us we need to install the route into the system. This change allows us to do this now. Signed-off-by: Donald Sharp --- pimd/pim_oil.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pimd/pim_oil.c b/pimd/pim_oil.c index 5e7f1786d7..793ae44890 100644 --- a/pimd/pim_oil.c +++ b/pimd/pim_oil.c @@ -163,13 +163,6 @@ int pim_channel_add_oif(struct channel_oil *channel_oil, proto_mask, oif->name, pim_ifp->mroute_vif_index); } - if (pim_ifp->mroute_vif_index < 1) { - zlog_warn("%s %s: interface %s vif_index=%d < 1", - __FILE__, __PRETTY_FUNCTION__, - oif->name, pim_ifp->mroute_vif_index); - return -1; - } - #ifdef PIM_ENFORCE_LOOPFREE_MFC /* Prevent creating MFC entry with OIF=IIF. -- 2.39.5