diff options
| author | Abhishek N R <abnr@vmware.com> | 2022-04-13 01:00:50 -0700 |
|---|---|---|
| committer | Abhishek N R <abnr@vmware.com> | 2022-04-13 01:19:03 -0700 |
| commit | 80a82b567fd98fa8cf12cbdefab25e13f56d655f (patch) | |
| tree | 9c66b3c72308e71f35026ea352e2ef65e8978152 /pimd/pim_mroute.c | |
| parent | 5cc9af2a6da78f2cd90eb1ff1e761041796a9666 (diff) | |
pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GM
Modified marco name so that it can be reused in mld.
Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_mroute.c')
| -rw-r--r-- | pimd/pim_mroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 3015c4a61b..43d05dfe9c 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -739,8 +739,8 @@ bool pim_mroute_allow_iif_in_oil(struct channel_oil *c_oil, pim_ifp = ifp_out->info; if (!pim_ifp) return false; - if ((c_oil->oif_flags[oif_index] & PIM_OIF_FLAG_PROTO_IGMP) && - PIM_I_am_DR(pim_ifp)) + if ((c_oil->oif_flags[oif_index] & PIM_OIF_FLAG_PROTO_GM) && + PIM_I_am_DR(pim_ifp)) return true; return false; |
