summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vpp/api/api_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp/api/api_main.c b/src/vpp/api/api_main.c
index 7770880d01c..129860538cf 100644
--- a/src/vpp/api/api_main.c
+++ b/src/vpp/api/api_main.c
@@ -59,7 +59,7 @@ api_main_init (vlib_main_t * vm)
return 0;
}
-VLIB_INIT_FUNCTION (api_main_init);
+VLIB_MAIN_LOOP_ENTER_FUNCTION (api_main_init);
void
vat_plugin_hash_create (void)