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/cdp | |
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/cdp')
-rw-r--r-- | src/plugins/cdp/cdp.c | 2 |
1 files changed, 1 insertions, 1 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 _ } |