diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/avf/avf_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/avf/avf_api.c b/src/plugins/avf/avf_api.c index 504fa31eb3d..883b374331f 100644 --- a/src/plugins/avf/avf_api.c +++ b/src/plugins/avf/avf_api.c @@ -93,10 +93,11 @@ avf_plugin_api_hookup (vlib_main_t * vm) avf_main_t *avm = &avf_main; api_main_t *am = vlibapi_get_main (); - am->is_mp_safe[VL_API_AVF_DELETE] = 1; - /* ask for a correctly-sized block of API message decode slots */ avm->msg_id_base = setup_message_id_table (); + + am->is_mp_safe[avm->msg_id_base + VL_API_AVF_DELETE] = 1; + return 0; } |