summaryrefslogtreecommitdiff
path: root/pimd/pim_instance.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-07-12 21:16:00 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-28 08:03:50 -0400
commit19b807ca178f017c57f3abf36d21c93d641cec50 (patch)
tree9c208173f1fc7690a75afb4af9164ebd2911e5a9 /pimd/pim_instance.c
parent9fb302f41d836328ad56588036eaf43fe84e2ddf (diff)
pimd: Allow the keepalive time to be per vrf.
Allow the keepalive period to be per vrf. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_instance.c')
-rw-r--r--pimd/pim_instance.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c
index fc25f352b9..7bee75fae7 100644
--- a/pimd/pim_instance.c
+++ b/pimd/pim_instance.c
@@ -74,6 +74,10 @@ static struct pim_instance *pim_instance_init(struct vrf *vrf)
pim_if_init(pim);
+ pim->keep_alive_time = PIM_KEEPALIVE_PERIOD;
+ pim->rp_keep_alive_time = PIM_RP_KEEPALIVE_PERIOD;
+
+
pim->vrf_id = vrf->vrf_id;
pim->vrf = vrf;