mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 10:00:25 +00:00
Merge pull request #13450 from patrasar/mld_core
pim6d: Fix crash in ipv6 pim command
This commit is contained in:
commit
8d4eeb9026
@ -81,15 +81,17 @@ static void pim_if_membership_refresh(struct interface *ifp)
|
||||
|
||||
pim_ifp = ifp->info;
|
||||
assert(pim_ifp);
|
||||
#if PIM_IPV == 6
|
||||
gm_ifp = pim_ifp->mld;
|
||||
#endif
|
||||
|
||||
if (!pim_ifp->pim_enable)
|
||||
return;
|
||||
if (!pim_ifp->gm_enable)
|
||||
return;
|
||||
|
||||
#if PIM_IPV == 6
|
||||
gm_ifp = pim_ifp->mld;
|
||||
if (!gm_ifp)
|
||||
return;
|
||||
#endif
|
||||
/*
|
||||
* First clear off membership from all PIM (S,G) entries on the
|
||||
* interface
|
||||
|
Loading…
Reference in New Issue
Block a user