summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-21 14:45:46 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:36 +0200
commit611925dc0261dd24fd1c02ac7c3af5c0bf3803cf (patch)
tree1578c0c75d661ac3a333de447710b84ce7df8941 /pimd/pim_mroute.c
parentpimd: Convert vif and ifindex lookups to use 'struct pim_instance *' (diff)
downloadfrr-611925dc0261dd24fd1c02ac7c3af5c0bf3803cf.tar.xz
frr-611925dc0261dd24fd1c02ac7c3af5c0bf3803cf.zip
pimd: Convert channel_oil_hash and list into 'struct pim_instance *'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index 4c0820b60..00f1bd638 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -471,7 +471,8 @@ static int pim_mroute_msg_wrvifwhole(int fd, struct interface *ifp,
up->upstream_register);
if (!up->channel_oil)
up->channel_oil = pim_channel_oil_add(
- &sg, pim_ifp->mroute_vif_index);
+ pim_ifp->pim, &sg,
+ pim_ifp->mroute_vif_index);
pim_upstream_inherited_olist(pim_ifp->pim, up);
if (!up->channel_oil->installed)
pim_mroute_add(up->channel_oil,
@@ -497,7 +498,7 @@ static int pim_mroute_msg_wrvifwhole(int fd, struct interface *ifp,
}
pim_ifp = ifp->info;
- oil = pim_channel_oil_add(&sg, pim_ifp->mroute_vif_index);
+ oil = pim_channel_oil_add(pim_ifp->pim, &sg, pim_ifp->mroute_vif_index);
if (!oil->installed)
pim_mroute_add(oil, __PRETTY_FUNCTION__);
if (pim_if_connected_to_source(ifp, sg.src)) {