summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-07-13 03:16:00 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-28 14:03:50 +0200
commit19b807ca178f017c57f3abf36d21c93d641cec50 (patch)
tree9c208173f1fc7690a75afb4af9164ebd2911e5a9 /pimd/pim_cmd.c
parentpimd: Setup hash names appropriately (diff)
downloadfrr-19b807ca178f017c57f3abf36d21c93d641cec50.tar.xz
frr-19b807ca178f017c57f3abf36d21c93d641cec50.zip
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_cmd.c')
-rw-r--r--pimd/pim_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 8c55dd403..9cd73cbbf 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -5161,7 +5161,7 @@ DEFUN (ip_pim_keep_alive,
"Seconds\n")
{
PIM_DECLVAR_CONTEXT(vrf, pim);
- qpim_keep_alive_time = atoi(argv[3]->arg);
+ pim->keep_alive_time = atoi(argv[3]->arg);
return CMD_SUCCESS;
}
@@ -5175,7 +5175,7 @@ DEFUN (no_ip_pim_keep_alive,
"Seconds\n")
{
PIM_DECLVAR_CONTEXT(vrf, pim);
- qpim_keep_alive_time = PIM_KEEPALIVE_PERIOD;
+ pim->keep_alive_time = PIM_KEEPALIVE_PERIOD;
return CMD_SUCCESS;
}