dhcp: vat support for the dhcp_client_dump API
[vpp.git] / src / vpp / vnet / main.c
index f4cc504..b8a6f2b 100644 (file)
@@ -74,7 +74,9 @@ vpp_find_plugin_path ()
 static void
 vpe_main_init (vlib_main_t * vm)
 {
+#if VPP_API_TEST_BUILTIN > 0
   void vat_plugin_hash_create (void);
+#endif
 
   if (CLIB_DEBUG > 0)
     vlib_unix_cli_set_prompt ("DBGvpp# ");
@@ -87,7 +89,9 @@ vpe_main_init (vlib_main_t * vm)
   /*
    * Create the binary api plugin hashes before loading plugins
    */
+#if VPP_API_TEST_BUILTIN > 0
   vat_plugin_hash_create ();
+#endif
 
   if (!vlib_plugin_path)
     vpp_find_plugin_path ();