Merge pull request #11066 from mobash-rasool/fixes

pimd: Set new to true in igmp_get_source_by_addr api
This commit is contained in:
Donald Sharp 2022-04-21 19:47:36 -04:00 committed by GitHub
commit 41e01f438c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,6 +465,9 @@ struct gm_source *igmp_get_source_by_addr(struct gm_group *group,
src = XCALLOC(MTYPE_PIM_IGMP_GROUP_SOURCE, sizeof(*src));
if (new)
*new = true;
src->t_source_timer = NULL;
src->source_group = group; /* back pointer */
src->source_addr = src_addr;