summaryrefslogtreecommitdiffstats
path: root/src/plugins/tracedump/graph_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/tracedump/graph_api.c')
-rw-r--r--src/plugins/tracedump/graph_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tracedump/graph_api.c b/src/plugins/tracedump/graph_api.c
index 0626f7d6b42..20eb1b920fc 100644
--- a/src/plugins/tracedump/graph_api.c
+++ b/src/plugins/tracedump/graph_api.c
@@ -252,7 +252,7 @@ graph_api_hookup (vlib_main_t * vm)
gmp->msg_id_base = setup_message_id_table ();
- am->is_mp_safe[gmp->msg_id_base + VL_API_GRAPH_NODE_GET] = 1;
+ vl_api_set_msg_thread_safe (am, gmp->msg_id_base + VL_API_GRAPH_NODE_GET, 1);
return 0;
}