]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: fixup join desired handling to match the RFC defined macro
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Fri, 15 Nov 2019 19:21:11 +0000 (11:21 -0800)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Fri, 15 Nov 2019 20:00:29 +0000 (12:00 -0800)
commita53a9b3e6b28d2da6342dc705d9bf2299a831eaa
tree18f7e53bf366ca2de8e0fad87fa4cd3f6ee6cd87
parenta749b9004136bd7c550c54f8f21d1e84b1569c20
pimd: fixup join desired handling to match the RFC defined macro

This commit includes the following changes -
1. kat needs to be included when evaluting join desired on a (S,G)
   entry.
2. there were cases where we were adding OIF based on joindesired
   being true for unrelated reasons (on other OIFs). cleaned up those
   cases.
3. make all calls to pim_upstream_switch conditional on the JoinDesired
   macro.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
pimd/pim_ifchannel.c
pimd/pim_mroute.c
pimd/pim_upstream.c
pimd/pim_upstream.h