summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vpp/vnet/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c
index 89dfedcd015..41f70d0c8f1 100644
--- a/src/vpp/vnet/main.c
+++ b/src/vpp/vnet/main.c
@@ -29,7 +29,7 @@
/*
* 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,7 +84,8 @@ vpe_main_init (vlib_main_t * vm)
*/
vat_plugin_hash_create ();
- vpp_find_plugin_path ();
+ if (!vlib_plugin_path)
+ vpp_find_plugin_path ();
}
/*