Don't autodetect plugin path if set on cmdline
/*
* Load plugins from /usr/lib/vpp_plugins by default
*/
-char *vlib_plugin_path = "/usr/lib/vpp_plugins";
+char *vlib_plugin_path = NULL;
char *vlib_plugin_app_version = VPP_BUILD_VER;
static void
@@ -84,6 +84,7 @@ vpe_main_init (vlib_main_t * vm)
*/
vat_plugin_hash_create ();
+ if (!vlib_plugin_path)
vpp_find_plugin_path ();
}
