summaryrefslogtreecommitdiff
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-02-22 07:28:36 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-16 18:53:28 -0400
commit1bc9827622572b24c7c47656565dc1a2601d6dc5 (patch)
treeeda923517f772ca214aa507de5fc313bff1a24dd /pimd/pim_mroute.c
parent93f681fa135ca65747190e5f36e720a217cfd163 (diff)
pimd: Nexthop tracking support
Add pim Nexthop tracking feature 1st part where, specific RP or Source address (unicast address) register with Zebra. Once nexthop update received from Zebra for a given address, scan RP or upstream entries impacted by the change in nexthop. Reviewed By: CCR-5761, Donald Sharp <sharpd@cumulusnetworks.com> Testing Done: Tested with multiple RPs and multiple *,G entries at LHR. Add new Nexthop or remove one of the link towards RP and verify RP and upstream nexthop update. similar test done at RP with multiple S,G entries to reach source. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index 9401475813..a244534ab4 100644
--- a/pimd/pim_mroute.c
+++ b/pimd/pim_mroute.c
@@ -759,7 +759,7 @@ int pim_mroute_add(struct channel_oil *c_oil, const char *name)
++qpim_mroute_add_events;
/* Do not install route if incoming interface is undefined. */
- if (c_oil->oil.mfcc_parent == MAXVIFS)
+ if (c_oil->oil.mfcc_parent >= MAXVIFS)
{
if (PIM_DEBUG_MROUTE)
{