diff options
Diffstat (limited to 'plugins/ioam-plugin/ioam/lib-trace/trace_api.c')
-rw-r--r-- | plugins/ioam-plugin/ioam/lib-trace/trace_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/ioam-plugin/ioam/lib-trace/trace_api.c b/plugins/ioam-plugin/ioam/lib-trace/trace_api.c index 1b8ad3cc0d6..b98e65fb320 100644 --- a/plugins/ioam-plugin/ioam/lib-trace/trace_api.c +++ b/plugins/ioam-plugin/ioam/lib-trace/trace_api.c @@ -112,7 +112,8 @@ static void vl_api_trace_profile_add_t_handler { rv = trace_profile_create (profile, mp->trace_type, mp->num_elts, - mp->trace_tsp, mp->node_id, mp->app_data); + mp->trace_tsp, ntohl (mp->node_id), + ntohl (mp->app_data)); if (rv != 0) goto ERROROUT; } @@ -186,7 +187,7 @@ trace_init (vlib_main_t * vm) bzero (sm, sizeof (trace_main)); (void) trace_util_init (); - name = format (0, "trace_%08x%c", api_version, 0); + name = format (0, "ioam_trace_%08x%c", api_version, 0); /* Ask for a correctly-sized block of API message decode slots */ sm->msg_id_base = vl_msg_api_get_msg_ids |