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_upstream.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_upstream.c')
| -rw-r--r-- | pimd/pim_upstream.c | 11 | 
1 files changed, 5 insertions, 6 deletions
diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index af1254f791..c38acc485f 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -1838,7 +1838,7 @@ int pim_upstream_inherited_olist_decide(struct pim_instance *pim,  				flag = PIM_OIF_FLAG_PROTO_STAR;  			else {  				if (PIM_IF_FLAG_TEST_PROTO_IGMP(ch->flags)) -					flag = PIM_OIF_FLAG_PROTO_IGMP; +					flag = PIM_OIF_FLAG_PROTO_GM;  				if (PIM_IF_FLAG_TEST_PROTO_PIM(ch->flags))  					flag |= PIM_OIF_FLAG_PROTO_PIM;  				if (starch) @@ -2116,7 +2116,7 @@ void pim_upstream_add_lhr_star_pimreg(struct pim_instance *pim)  			continue;  		pim_channel_add_oif(up->channel_oil, pim->regiface, -				    PIM_OIF_FLAG_PROTO_IGMP, __func__); +				    PIM_OIF_FLAG_PROTO_GM, __func__);  	}  } @@ -2161,18 +2161,17 @@ void pim_upstream_remove_lhr_star_pimreg(struct pim_instance *pim,  		if (!nlist) {  			pim_channel_del_oif(up->channel_oil, pim->regiface, -					PIM_OIF_FLAG_PROTO_IGMP, __func__); +					    PIM_OIF_FLAG_PROTO_GM, __func__);  			continue;  		}  		pim_addr_to_prefix(&g, up->sg.grp);  		apply_new = prefix_list_apply(np, &g);  		if (apply_new == PREFIX_DENY)  			pim_channel_add_oif(up->channel_oil, pim->regiface, -					    PIM_OIF_FLAG_PROTO_IGMP, -						__func__); +					    PIM_OIF_FLAG_PROTO_GM, __func__);  		else  			pim_channel_del_oif(up->channel_oil, pim->regiface, -					PIM_OIF_FLAG_PROTO_IGMP, __func__); +					    PIM_OIF_FLAG_PROTO_GM, __func__);  	}  }  | 
