mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 16:29:32 +00:00
pimd: Checks imply that pim is not properly configured
The call to gm_update_ll checks for null pointers and implies to SA that things could not be configured correctly This is not true with the code flow. Remove the confusing code. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
6f55b4ae24
commit
f4e8f5d496
@ -2198,7 +2198,7 @@ void gm_ifp_teardown(struct interface *ifp)
|
|||||||
static void gm_update_ll(struct interface *ifp)
|
static void gm_update_ll(struct interface *ifp)
|
||||||
{
|
{
|
||||||
struct pim_interface *pim_ifp = ifp->info;
|
struct pim_interface *pim_ifp = ifp->info;
|
||||||
struct gm_if *gm_ifp = pim_ifp ? pim_ifp->mld : NULL;
|
struct gm_if *gm_ifp = pim_ifp->mld;
|
||||||
bool was_querier;
|
bool was_querier;
|
||||||
|
|
||||||
was_querier =
|
was_querier =
|
||||||
|
Loading…
Reference in New Issue
Block a user