summaryrefslogtreecommitdiff
path: root/pimd/pim_static.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 11:09:13 -0800
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2019-11-15 12:00:29 -0800
commit7984af1840999e2e24ffcab249c46dd780606e5d (patch)
tree0f0fdebf8f5e886fd3ff26ca6ffb9c0486fbea7a /pimd/pim_static.c
parent69e3538cd89b070d3434192bb28b94d7b721ceeb (diff)
pimd: set mfcc_parent at the time of MFCC programming
mfcc_parent for an (S, G) entry was being updated on any upstream RPF change. With the change to use RPT for (S,G) in some cases we can no longer do that. Instead the upstream entry's RPF neigbor is managed separately form the channel_oil's mfcc_parent i.e. via NHT. And the mfcc_parent is evaluated at the time of mroute programming. Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_static.c')
-rw-r--r--pimd/pim_static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c
index be2321dc33..7b121c9136 100644
--- a/pimd/pim_static.c
+++ b/pimd/pim_static.c
@@ -138,7 +138,7 @@ int pim_static_add(struct pim_instance *pim, struct interface *iif,
} else {
/* input interface changed */
s_route->iif = iif_index;
- pim_channel_oil_change_iif(pim, &s_route->c_oil,
+ pim_static_mroute_iif_update(&s_route->c_oil,
iif_index,
__PRETTY_FUNCTION__);