]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Set new to true in igmp_get_source_by_addr api
authorMobashshera Rasool <mrasool@vmware.com>
Thu, 21 Apr 2022 10:01:33 +0000 (03:01 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Thu, 21 Apr 2022 12:54:40 +0000 (05:54 -0700)
commit14c7ac504fef5193383611cf1e3d162e7d29c636
tree0f13b72a8ed0b39e67367064b9b979a1b7a316db
parent60d296518b48c75ab4d21ed696e970b8d987a5ac
pimd: Set new to true in igmp_get_source_by_addr api

5421bf8 commit forgot to set the parameter "new" to true
when a new source is created, have fixed it.

igmp_get_source_by_addr api is currently setting the parameter
"new" to false always. This is not right. The caller apis are using
this field to decide and based on that take actions to create timers, etc.

Its need to be set to true when a new source is created.

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
pimd/pim_igmpv3.c