diff options
author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-11-15 20:09:13 +0100 |
---|---|---|
committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-11-15 21:00:29 +0100 |
commit | 7984af1840999e2e24ffcab249c46dd780606e5d (patch) | |
tree | 0f0fdebf8f5e886fd3ff26ca6ffb9c0486fbea7a /pimd/pim_static.c | |
parent | pimd: decide between SPT based and RPT based forwarding (diff) | |
download | frr-7984af1840999e2e24ffcab249c46dd780606e5d.tar.xz frr-7984af1840999e2e24ffcab249c46dd780606e5d.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_static.c b/pimd/pim_static.c index be2321dc3..7b121c913 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__); |