diff options
| author | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-11-15 11:46:04 -0800 |
|---|---|---|
| committer | Anuradha Karuppiah <anuradhak@cumulusnetworks.com> | 2019-11-15 14:16:08 -0800 |
| commit | 60eb7e6b803910dae00217009ded98d7c93186cd (patch) | |
| tree | 0a7d4129b42fd27c94dbc21178b16a3ef0f2cfb7 /pimd/pim_cmd.c | |
| parent | 11913c322be9ebb1f2a99806f182125d7036af7f (diff) | |
pimd: enforce PIM_ENFORCE_LOOPFREE_MFC at the time of MFC programming
This is needed for two reasons -
1. The inherited OIL needs to be setup independent of the RPF interface
to allow correct computation of the JoinDesired macro.
2. The RPF interface is computed at the time of MFC programming so
it is not possible to permanently evict the OIF at that time oif_add
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 25ea42473b..e49566089f 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -5405,6 +5405,11 @@ static void show_mroute(struct pim_instance *pim, struct vty *vty, & PIM_OIF_FLAG_MUTE) continue; + if (c_oil->oil.mfcc_parent == oif_vif_index && + !pim_mroute_allow_iif_in_oil(c_oil, + oif_vif_index)) + continue; + ifp_out = pim_if_find_by_vif_index(pim, oif_vif_index); pim_time_uptime( mroute_uptime, sizeof(mroute_uptime), |
