diff options
Diffstat (limited to 'src/plugins/lacp/lacp_api.c')
-rw-r--r-- | src/plugins/lacp/lacp_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lacp/lacp_api.c b/src/plugins/lacp/lacp_api.c index 115dd473836..dbeb14b3245 100644 --- a/src/plugins/lacp/lacp_api.c +++ b/src/plugins/lacp/lacp_api.c @@ -119,7 +119,7 @@ clib_error_t * lacp_plugin_api_hookup (vlib_main_t * vm) { lacp_main_t *lm = &lacp_main; - api_main_t *am = &api_main; + api_main_t *am = vlibapi_get_main (); /* Ask for a correctly-sized block of API message decode slots */ lm->msg_id_base = setup_message_id_table (); |