Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix API name_crc format stored in msg_api_table
[vpp.git]
/
src
/
plugins
/
nsim
/
nsim.c
diff --git
a/src/plugins/nsim/nsim.c
b/src/plugins/nsim/nsim.c
index
34a5039
..
ec79070
100644
(file)
--- 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)
{
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 _
}
foreach_vl_msg_name_crc_nsim;
#undef _
}