summaryrefslogtreecommitdiff
path: root/pimd/pim_instance.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-06-07 10:23:32 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-06-07 10:23:32 -0400
commit4795fff748d6b55479b60013fd2dc8fdf8b4c7c2 (patch)
tree38aa32a9d0a6d834d9badaea95f971bb80803469 /pimd/pim_instance.h
parent7348e571b7b0e2616726723bb624d3a15be5f40a (diff)
pimd: Fix ecmp_enable and ecmp_rebalance_enable
These commands were being accepted in all vrf's and affecting all vrf's behavior globally, since they were global variables. Modify the code to make these two commands work on a per-vrf basis. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.h')
-rw-r--r--pimd/pim_instance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h
index 75f011513f..b447075e9a 100644
--- a/pimd/pim_instance.h
+++ b/pimd/pim_instance.h
@@ -95,6 +95,9 @@ struct pim_instance {
unsigned int keep_alive_time;
unsigned int rp_keep_alive_time;
+ bool ecmp_enable;
+ bool ecmp_rebalance_enable;
+
/* If we need to rescan all our upstreams */
struct thread *rpf_cache_refresher;
int64_t rpf_cache_refresh_requests;