diff options
author | Dave Barach <dave@barachs.net> | 2019-05-17 14:48:27 -0400 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2019-05-17 14:49:00 -0400 |
commit | 18874913fb18c8089362dc72f9a0b3a6ac918f17 (patch) | |
tree | 4d50732dc0876ecf4001b041f804c85e125d202a /src/plugins/ct6/ct6.c | |
parent | f5b1ed7dea46c063a65497cf438323bc16848925 (diff) |
Fix punctuation fails in 2x plugins
More to the point: fix the Python API binding for the plugins.
The http_static and ct6 plugin setup_message_id_table calls didn't
have "_"'s between message names and CRCs. I would have expected this
to originate in the emacs skeleton, but the skeleton is correct.
Punctuation saves lives: "Let's eat Grandma..." != "Let's eat,
Grandma..." More or less.
Change-Id: Icd87813308701d203cf6f147b2bb90d39d51ddeb
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/plugins/ct6/ct6.c')
-rw-r--r-- | src/plugins/ct6/ct6.c | 2 |
1 files changed, 1 insertions, 1 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 _ } |