diff options
Diffstat (limited to 'src/vat')
-rw-r--r-- | src/vat/api_format.c | 2 | ||||
-rw-r--r-- | src/vat/plugin.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/vat/api_format.c b/src/vat/api_format.c index b5943f030a6..fb596fe69d0 100644 --- a/src/vat/api_format.c +++ b/src/vat/api_format.c @@ -18314,13 +18314,13 @@ vat_api_hookup (vat_main_t * vam) #if (VPP_API_TEST_BUILTIN==0) vl_msg_api_set_first_available_msg_id (VL_MSG_FIRST_AVAILABLE); -#endif vam->sw_if_index_by_interface_name = hash_create_string (0, sizeof (uword)); vam->function_by_name = hash_create_string (0, sizeof (uword)); vam->help_by_name = hash_create_string (0, sizeof (uword)); +#endif /* API messages we can send */ #define _(n,h) hash_set_mem (vam->function_by_name, #n, api_##n); diff --git a/src/vat/plugin.c b/src/vat/plugin.c index c1cc928c217..20de8c50b6f 100644 --- a/src/vat/plugin.c +++ b/src/vat/plugin.c @@ -181,7 +181,6 @@ vat_plugin_init (vat_main_t * vam) { plugin_main_t *pm = &vat_plugin_main; - pm->plugin_path = format (0, "%s%c", vat_plugin_path, 0); if (vat_plugin_name_filter) pm->plugin_name_filter = format (0, "%s%c", vat_plugin_name_filter, 0); |