diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-08-18 09:47:03 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-18 09:47:03 +0300 | 
| commit | b32cf39d45b606e1b5da916c5419db71fa3d0fd5 (patch) | |
| tree | 1adc2dee1ea2f8a71ba44665f224578ba9c6f316 /pimd/pim6_mld.c | |
| parent | 61364bed38f64a8150ffb91ada9f9aa5b05253a3 (diff) | |
| parent | 5c1b3cd2d9454ea8abee476c79c97cb2e139b77c (diff) | |
Merge pull request #11485 from AbhishekNR/ipv6_mld_todo
pim6d: Completing "ipv6 mld" config command.
Diffstat (limited to 'pimd/pim6_mld.c')
| -rw-r--r-- | pimd/pim6_mld.c | 10 | 
1 files changed, 9 insertions, 1 deletions
diff --git a/pimd/pim6_mld.c b/pimd/pim6_mld.c index c5c98d8024..60602ee04a 100644 --- a/pimd/pim6_mld.c +++ b/pimd/pim6_mld.c @@ -2246,8 +2246,16 @@ void gm_ifp_update(struct interface *ifp)  		return;  	} -	if (!pim_ifp->mld) +	/* +	 * If ipv6 mld is not enabled on interface, do not start mld activites. +	 */ +	if (!pim_ifp->gm_enable) +		return; + +	if (!pim_ifp->mld) { +		changed = true;  		gm_start(ifp); +	}  	gm_ifp = pim_ifp->mld;  	if (IPV6_ADDR_CMP(&pim_ifp->ll_lowest, &gm_ifp->cur_ll_lowest))  | 
