aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/cdp/cdp.c2
-rw-r--r--src/plugins/mactime/mactime.c2
-rw-r--r--src/plugins/nsim/nsim.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cdp/cdp.c b/src/plugins/cdp/cdp.c
index a88a06bc9c5..3356437a9ea 100644
--- a/src/plugins/cdp/cdp.c
+++ b/src/plugins/cdp/cdp.c
@@ -174,7 +174,7 @@ cdp_plugin_api_hookup (vlib_main_t * vm)
static void
setup_message_id_table (cdp_main_t * cm, api_main_t * am)
{
-#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n #crc, id + cm->msg_id_base);
+#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + cm->msg_id_base);
foreach_vl_msg_name_crc_cdp;
#undef _
}
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 _
}
diff --git a/src/plugins/nsim/nsim.c b/src/plugins/nsim/nsim.c
index 34a5039ad70..ec79070b2e7 100644
--- a/src/plugins/nsim/nsim.c
+++ b/src/plugins/nsim/nsim.c
@@ -357,7 +357,7 @@ nsim_plugin_api_hookup (vlib_main_t * vm)
static void
setup_message_id_table (nsim_main_t * nsm, api_main_t * am)
{
-#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n #crc, id + nsm->msg_id_base);
+#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + nsm->msg_id_base);
foreach_vl_msg_name_crc_nsim;
#undef _
}