summaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/igmp_pkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/igmp/igmp_pkt.c')
-rw-r--r--src/plugins/igmp/igmp_pkt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/igmp/igmp_pkt.c b/src/plugins/igmp/igmp_pkt.c
index 5dd829de712..1fd240c7d9a 100644
--- a/src/plugins/igmp/igmp_pkt.c
+++ b/src/plugins/igmp/igmp_pkt.c
@@ -148,6 +148,10 @@ igmp_pkt_tx (igmp_pkt_build_t * bk)
vm = vlib_get_main ();
config = igmp_config_lookup (bk->sw_if_index);
+
+ if (NULL == config)
+ return;
+
f = vlib_get_frame_to_node (vm, ip4_rewrite_mcast_node.index);
to_next = vlib_frame_vector_args (f);