summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/ct6/ct6.c2
-rw-r--r--src/plugins/http_static/http_static.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ct6/ct6.c b/src/plugins/ct6/ct6.c
index 478e9ac8f50..3dfa09f1875 100644
--- a/src/plugins/ct6/ct6.c
+++ b/src/plugins/ct6/ct6.c
@@ -235,7 +235,7 @@ ct6_plugin_api_hookup (vlib_main_t * vm)
static void
setup_message_id_table (ct6_main_t * cmp, api_main_t * am)
{
-#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n #crc, id + cmp->msg_id_base);
+#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + cmp->msg_id_base);
foreach_vl_msg_name_crc_ct6;
#undef _
}
diff --git a/src/plugins/http_static/http_static.c b/src/plugins/http_static/http_static.c
index 57f1cf70f0d..d4ec2983680 100644
--- a/src/plugins/http_static/http_static.c
+++ b/src/plugins/http_static/http_static.c
@@ -102,7 +102,7 @@ http_static_plugin_api_hookup (vlib_main_t * vm)
static void
setup_message_id_table (http_static_main_t * hmp, api_main_t * am)
{
-#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n #crc, id + hmp->msg_id_base);
+#define _(id,n,crc) vl_msg_api_add_msg_name_crc (am, #n "_" #crc, id + hmp->msg_id_base);
foreach_vl_msg_name_crc_http_static;
#undef _
}