summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmpv3.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-12-20 16:34:04 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-01-04 18:21:00 +0100
commit36417fcc20b4a21b26a4e63902caca2eecbad4ed (patch)
treeda63cbef60f00c6ae2d61ad084ea3cab62d00f5f /pimd/pim_igmpv3.c
parentzebra: Add test and show commands for mlag (diff)
downloadfrr-36417fcc20b4a21b26a4e63902caca2eecbad4ed.tar.xz
frr-36417fcc20b4a21b26a4e63902caca2eecbad4ed.zip
pimd: Create a `struct pim_router` and move thread master into it
Create a `struct pim_router` and move the thread master into it. Future commits will further move global varaibles into the pim_router structure. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_igmpv3.c')
-rw-r--r--pimd/pim_igmpv3.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_igmpv3.c b/pimd/pim_igmpv3.c
index 430cba76b..b845f54f0 100644
--- a/pimd/pim_igmpv3.c
+++ b/pimd/pim_igmpv3.c
@@ -214,8 +214,8 @@ static void igmp_source_timer_on(struct igmp_group *group,
source_str, group->group_igmp_sock->interface->name);
}
- thread_add_timer_msec(master, igmp_source_timer, source, interval_msec,
- &source->t_source_timer);
+ thread_add_timer_msec(router->master, igmp_source_timer, source,
+ interval_msec, &source->t_source_timer);
/*
RFC 3376: 6.3. IGMPv3 Source-Specific Forwarding Rules
@@ -1294,7 +1294,8 @@ static void group_retransmit_timer_on(struct igmp_group *group)
igmp->interface->name);
}
- thread_add_timer_msec(master, igmp_group_retransmit, group, lmqi_msec,
+ thread_add_timer_msec(router->master, igmp_group_retransmit, group,
+ lmqi_msec,
&group->t_group_query_retransmit_timer);
}