summaryrefslogtreecommitdiffstats
path: root/plugins/ioam-plugin/ioam
diff options
context:
space:
mode:
authorSagar Srivastav <sagsriva@cisco.com>2016-12-10 04:30:59 -0800
committerSagar Srivastav <sagsriva@cisco.com>2016-12-10 04:30:59 -0800
commit4a72c8e0d9f8a3a45584efff1b6320d16eb0bcfa (patch)
treef2cdbb1f7e6e01cbf85120c0d0535de434c4d6d5 /plugins/ioam-plugin/ioam
parent892e076a1e56253414f2fd69f16a0349b6759485 (diff)
ioam: trace plugin read api fix
-fix verify job failures Change-Id: I0756f4b6577d58598702185ebe6f8ed9db23b0fa Signed-off-by: Sagar Srivastav <sagsriva@cisco.com>
Diffstat (limited to 'plugins/ioam-plugin/ioam')
-rw-r--r--plugins/ioam-plugin/ioam/lib-trace/trace_test.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ioam-plugin/ioam/lib-trace/trace_test.c b/plugins/ioam-plugin/ioam/lib-trace/trace_test.c
index 7a03fa21059..111dd461b5b 100644
--- a/plugins/ioam-plugin/ioam/lib-trace/trace_test.c
+++ b/plugins/ioam-plugin/ioam/lib-trace/trace_test.c
@@ -23,7 +23,6 @@
#include <vlibmemory/api.h>
#include <vlibsocket/api.h>
#include <vppinfra/error.h>
-#include <vnet/ip/ip6_hop_by_hop.h>
/* Declare message IDs */
#include <ioam/lib-trace/trace_msg_enum.h>
@@ -69,9 +68,7 @@ _(trace_profile_show_config_reply, \
if(mp->trace_type) \
{ \
errmsg(" Trace Type : 0x%x (%d)\n",mp->trace_type, mp->trace_type); \
- errmsg(" Trace timestamp precision : %d (%s)\n",mp->trace_tsp, \
- (mp->trace_tsp == TSP_SECONDS) ? "Seconds" : ((mp->trace_tsp ==TSP_MILLISECONDS) ? \
- "Milliseconds": (((mp->trace_tsp == TSP_MICROSECONDS) ? "Microseconds" : "Nanoseconds")))); \
+ errmsg(" Trace timestamp precision : %d \n",mp->trace_tsp); \
errmsg(" Node Id : 0x%x (%d)\n",htonl(mp->node_id), htonl(mp->node_id)); \
errmsg(" App Data : 0x%x (%d)\n",htonl(mp->app_data), htonl(mp->app_data)); \
} \