]> git.puffer.fish Git - mirror/frr.git/commit
pim6d: Fixing mroutes not created after disabling and enabling PIMv6. 13296/head
authorAbhishek N R <abnr@vmware.com>
Fri, 24 Mar 2023 04:55:06 +0000 (21:55 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Apr 2023 11:42:35 +0000 (11:42 +0000)
commitce8a824d5dd527d5544156bb551709b54b317838
tree4d040b0f142a12eb9c58cb4e19b9a70db20c0c65
parent6398f442457ae4285e9c0ee1d7764825c571f37e
pim6d: Fixing mroutes not created after disabling and enabling PIMv6.

After doing "no ipv6 pim" and "ipv6 pim" on receiver interface in LHR,
mroutes were not created.

When we enable pim after disabling it, we refresh the membership on pim interface.
First we clear the membership on the interface, then we add it back.
For PIMv6 we were only clearing it, membership was not added back. So mroutes were not created.

Now added code to fetch all the local membership information into PIM.

Fixes: #12005, #12820
Signed-off-by: Abhishek N R <abnr@vmware.com>
(cherry picked from commit 00fed6ed3b412c24a3c9aff455065b39f8ec8f6b)
pimd/pim6_mld.c
pimd/pim6_mld.h
pimd/pim_nb_config.c