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 <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2016-06-23 11:03:47 -04:00
parent f73209b8d1
commit 8e403a1487

View File

@ -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.