summaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/igmp')
-rw-r--r--src/plugins/igmp/igmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/igmp/igmp.c b/src/plugins/igmp/igmp.c
index 5ff88e58ec3..6499b5be466 100644
--- a/src/plugins/igmp/igmp.c
+++ b/src/plugins/igmp/igmp.c
@@ -712,7 +712,7 @@ igmp_timer_process (vlib_main_t * vm, vlib_node_runtime_t * rt,
goto next_timer;
IGMP_DBG ("time: %f", vlib_time_now (vm));
/* timer expired */
- if (NULL != timer)
+ if (NULL != timer && timer->func != NULL)
timer->func (vm, rt, im, timer);
next_timer:
timer = igmp_get_next_timer (im);