summaryrefslogtreecommitdiff
path: root/pimd/pim_tib.c
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-04-13 01:00:50 -0700
committerAbhishek N R <abnr@vmware.com>2022-04-13 01:19:03 -0700
commit80a82b567fd98fa8cf12cbdefab25e13f56d655f (patch)
tree9c66b3c72308e71f35026ea352e2ef65e8978152 /pimd/pim_tib.c
parent5cc9af2a6da78f2cd90eb1ff1e761041796a9666 (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_tib.c')
-rw-r--r--pimd/pim_tib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_tib.c b/pimd/pim_tib.c
index 838f11211e..80e75f1b09 100644
--- a/pimd/pim_tib.c
+++ b/pimd/pim_tib.c
@@ -110,8 +110,8 @@ bool tib_sg_gm_join(struct pim_instance *pim, pim_sgaddr sg,
if (PIM_I_am_DR(pim_oif) || PIM_I_am_DualActive(pim_oif)) {
int result;
- result = pim_channel_add_oif(*oilp, oif,
- PIM_OIF_FLAG_PROTO_IGMP, __func__);
+ result = pim_channel_add_oif(*oilp, oif, PIM_OIF_FLAG_PROTO_GM,
+ __func__);
if (result) {
if (PIM_DEBUG_MROUTE)
zlog_warn("%s: add_oif() failed with return=%d",
@@ -136,7 +136,7 @@ bool tib_sg_gm_join(struct pim_instance *pim, pim_sgaddr sg,
"%s: Failure to add local membership for %pSG",
__func__, &sg);
- pim_channel_del_oif(*oilp, oif, PIM_OIF_FLAG_PROTO_IGMP,
+ pim_channel_del_oif(*oilp, oif, PIM_OIF_FLAG_PROTO_GM,
__func__);
return false;
}
@@ -160,7 +160,7 @@ void tib_sg_gm_prune(struct pim_instance *pim, pim_sgaddr sg,
fixes the issue without ill effect, similar to
pim_forward_stop below.
*/
- result = pim_channel_del_oif(*oilp, oif, PIM_OIF_FLAG_PROTO_IGMP,
+ result = pim_channel_del_oif(*oilp, oif, PIM_OIF_FLAG_PROTO_GM,
__func__);
if (result) {
if (PIM_DEBUG_IGMP_TRACE)