diff options
Diffstat (limited to 'src/vlibmemory')
-rw-r--r-- | src/vlibmemory/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/vlibmemory/vlib_api.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/vlibmemory/CMakeLists.txt b/src/vlibmemory/CMakeLists.txt index 64fcb2d58fb..b48ff7b5766 100644 --- a/src/vlibmemory/CMakeLists.txt +++ b/src/vlibmemory/CMakeLists.txt @@ -16,6 +16,7 @@ add_vpp_library (vlibmemory memory_api.c memory_shared.c memory_client.c + socket_client.c socket_api.c vlib_api.c vlib_api_cli.c diff --git a/src/vlibmemory/vlib_api.c b/src/vlibmemory/vlib_api.c index 582016852a7..51378a5675e 100644 --- a/src/vlibmemory/vlib_api.c +++ b/src/vlibmemory/vlib_api.c @@ -248,6 +248,13 @@ vl_api_save_msg_table (void) vec_free (serialized_message_table); } +clib_error_t *vat_builtin_main_init (vlib_main_t * vm) __attribute__ ((weak)); +clib_error_t * +vat_builtin_main_init (vlib_main_t * vm) +{ + return 0; +} + static uword vl_api_clnt_process (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * f) @@ -287,6 +294,10 @@ vl_api_clnt_process (vlib_main_t * vm, vlib_node_runtime_t * node, if (e) clib_error_report (e); + e = vat_builtin_main_init (vm); + if (e) + clib_error_report (e); + sleep_time = 10.0; dead_client_scan_time = vlib_time_now (vm) + 10.0; |