lacp: correctly set is_mp_safe for VL_API_SW_INTERFACE_LACP_DUMP
Need to add msg_id_base to the index
Type: fix
@@ -125,8 +125,7 @@ lacp_plugin_api_hookup (vlib_main_t * vm)
lm->msg_id_base = setup_message_id_table ();
/* Mark these APIs as mp safe */
- am->is_mp_safe[VL_API_SW_INTERFACE_LACP_DUMP] = 1;
- am->is_mp_safe[VL_API_SW_INTERFACE_LACP_DETAILS] = 1;
+ am->is_mp_safe[lm->msg_id_base + VL_API_SW_INTERFACE_LACP_DUMP] = 1;
return 0;
}
