mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:48:50 +00:00
pimd: Make the NOCACHE just set the regiface to the coil
When we receive a NOCACHE upcall, add the pimreg interface to the oil so that we can receive the data. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
fa1a4e366b
commit
8a294fa2e4
@ -93,7 +93,6 @@ pim_mroute_msg_nocache (int fd, struct interface *ifp, const struct igmpmsg *msg
|
|||||||
const char *src_str, const char *grp_str)
|
const char *src_str, const char *grp_str)
|
||||||
{
|
{
|
||||||
struct pim_interface *pim_ifp = ifp->info;
|
struct pim_interface *pim_ifp = ifp->info;
|
||||||
struct pim_ifchannel *ch;
|
|
||||||
struct pim_upstream *up;
|
struct pim_upstream *up;
|
||||||
struct pim_rpf *rpg;
|
struct pim_rpf *rpg;
|
||||||
struct prefix sg;
|
struct prefix sg;
|
||||||
@ -154,8 +153,7 @@ pim_mroute_msg_nocache (int fd, struct interface *ifp, const struct igmpmsg *msg
|
|||||||
}
|
}
|
||||||
up->channel_oil->cc.pktcnt++;
|
up->channel_oil->cc.pktcnt++;
|
||||||
up->fhr = 1;
|
up->fhr = 1;
|
||||||
ch = pim_ifchannel_add (pim_regiface, &sg);
|
pim_channel_add_oif (up->channel_oil, pim_regiface, PIM_OIF_FLAG_PROTO_PIM);
|
||||||
pim_ifchannel_ifjoin_switch (__PRETTY_FUNCTION__, ch, PIM_IFJOIN_JOIN_PIMREG);
|
|
||||||
up->join_state = PIM_UPSTREAM_JOINED;
|
up->join_state = PIM_UPSTREAM_JOINED;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user