summaryrefslogtreecommitdiffstats
path: root/src/plugins/mactime/mactime.c
diff options
context:
space:
mode:
authorIgor Mikhailov (imichail) <imichail@cisco.com>2018-10-31 14:20:04 -0700
committerJohn Lo <loj@cisco.com>2018-11-01 20:20:30 +0000
commitf3ffdbc809e912e6cb8ac042a20ad5227c754b23 (patch)
tree46aa5db7a95bc3de96a996348bcfdbc9fa7aacf1 /src/plugins/mactime/mactime.c
parent12fe878ac8cd3c62b336cddd0b0e7c8a3771a9fe (diff)
Fix API name_crc format stored in msg_api_table
Change-Id: I716d025beb8f649060238c2bd388357943643621 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
Diffstat (limited to 'src/plugins/mactime/mactime.c')
-rw-r--r--src/plugins/mactime/mactime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/mactime/mactime.c b/src/plugins/mactime/mactime.c
index 21857d430c0..837b317027d 100644
--- a/src/plugins/mactime/mactime.c
+++ b/src/plugins/mactime/mactime.c
@@ -339,7 +339,7 @@ mactime_plugin_api_hookup (vlib_main_t * vm)
static void
setup_message_id_table (mactime_main_t * mm, api_main_t * am)
{
-#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n #crc, id + mm->msg_id_base);
+#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + mm->msg_id_base);
foreach_vl_msg_name_crc_mactime;
#undef _
}