mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 06:53:03 +00:00
Merge pull request #13655 from FRRouting/mergify/bp/stable/8.5/pr-13450
pim6d: Fix crash in ipv6 pim command (backport #13450)
This commit is contained in:
commit
8b6859d2e2
@ -94,15 +94,17 @@ static void pim_if_membership_refresh(struct interface *ifp)
|
|||||||
|
|
||||||
pim_ifp = ifp->info;
|
pim_ifp = ifp->info;
|
||||||
assert(pim_ifp);
|
assert(pim_ifp);
|
||||||
#if PIM_IPV == 6
|
|
||||||
gm_ifp = pim_ifp->mld;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!pim_ifp->pim_enable)
|
if (!pim_ifp->pim_enable)
|
||||||
return;
|
return;
|
||||||
if (!pim_ifp->gm_enable)
|
if (!pim_ifp->gm_enable)
|
||||||
return;
|
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
|
* First clear off membership from all PIM (S,G) entries on the
|
||||||
* interface
|
* interface
|
||||||
|
Loading…
Reference in New Issue
Block a user