summaryrefslogtreecommitdiffstats
path: root/pimd/pim_neighbor.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-20 16:45:33 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:23:39 +0100
commit5b45753eff8c6c65393a54ecfdb36f31bb4b3bcc (patch)
tree57a184f7413d36444047dc88c4a694852e6c9c4d /pimd/pim_neighbor.c
parentpimd: Move debugs into pim_router structure (diff)
downloadfrr-5b45753eff8c6c65393a54ecfdb36f31bb4b3bcc.tar.xz
frr-5b45753eff8c6c65393a54ecfdb36f31bb4b3bcc.zip
pimd: Convert qpim_t_periodic into the `struct pim_router` structure
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_neighbor.c')
-rw-r--r--pimd/pim_neighbor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_neighbor.c b/pimd/pim_neighbor.c
index 4f06daf31..436f2dec2 100644
--- a/pimd/pim_neighbor.c
+++ b/pimd/pim_neighbor.c
@@ -278,7 +278,7 @@ static int on_neighbor_jp_timer(struct thread *t)
pim_joinprune_send(&rpf, neigh->upstream_jp_agg);
thread_add_timer(router->master, on_neighbor_jp_timer, neigh,
- qpim_t_periodic, &neigh->jp_timer);
+ router->t_periodic, &neigh->jp_timer);
return 0;
}
@@ -287,7 +287,7 @@ static void pim_neighbor_start_jp_timer(struct pim_neighbor *neigh)
{
THREAD_TIMER_OFF(neigh->jp_timer);
thread_add_timer(router->master, on_neighbor_jp_timer, neigh,
- qpim_t_periodic, &neigh->jp_timer);
+ router->t_periodic, &neigh->jp_timer);
}
static struct pim_neighbor *