diff options
Diffstat (limited to 'src/plugins/hs_apps/echo_client.c')
-rw-r--r-- | src/plugins/hs_apps/echo_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hs_apps/echo_client.c b/src/plugins/hs_apps/echo_client.c index 128503279b7..35cd608f40c 100644 --- a/src/plugins/hs_apps/echo_client.c +++ b/src/plugins/hs_apps/echo_client.c @@ -318,7 +318,7 @@ VLIB_REGISTER_NODE (echo_clients_node) = static int create_api_loopback (echo_client_main_t * ecm) { - api_main_t *am = &api_main; + api_main_t *am = vlibapi_get_main (); vl_shmem_hdr_t *shmem_hdr; shmem_hdr = am->shmem_hdr; |