diff options
author | Igor Mikhailov (imichail) <imichail@cisco.com> | 2018-10-31 14:20:04 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-11-01 20:20:30 +0000 |
commit | f3ffdbc809e912e6cb8ac042a20ad5227c754b23 (patch) | |
tree | 46aa5db7a95bc3de96a996348bcfdbc9fa7aacf1 /src/plugins/nsim | |
parent | 12fe878ac8cd3c62b336cddd0b0e7c8a3771a9fe (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/nsim')
-rw-r--r-- | src/plugins/nsim/nsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 _ } |