igmp: make sure fib_index is set before delivering to ip4-local
[vpp.git] / src / vnet / ip / ip4_options.c
index 1b5a787..9b01151 100644 (file)
@@ -82,6 +82,8 @@ VLIB_NODE_FN (ip4_options_node) (vlib_main_t * vm,
               */
              if (IP_PROTOCOL_IGMP == ip4->protocol)
                {
+                 ip_lookup_set_buffer_fib_index (
+                   ip4_main.fib_index_by_sw_if_index, b);
                  next = IP4_OPTIONS_NEXT_LOCAL;
                }
              break;