mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 11:18:52 +00:00
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:
parent
f73209b8d1
commit
8e403a1487
@ -163,13 +163,6 @@ int pim_channel_add_oif(struct channel_oil *channel_oil,
|
|||||||
proto_mask, oif->name, pim_ifp->mroute_vif_index);
|
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
|
#ifdef PIM_ENFORCE_LOOPFREE_MFC
|
||||||
/*
|
/*
|
||||||
Prevent creating MFC entry with OIF=IIF.
|
Prevent creating MFC entry with OIF=IIF.
|
||||||
|
Loading…
Reference in New Issue
Block a user