Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Plugin infrastructure improvements
[vpp.git]
/
src
/
vlib
/
unix
/
main.c
diff --git
a/src/vlib/unix/main.c
b/src/vlib/unix/main.c
index
562778e
..
a04d9f9
100644
(file)
--- a/
src/vlib/unix/main.c
+++ b/
src/vlib/unix/main.c
@@
-503,6
+503,14
@@
vlib_unix_main (int argc, char *argv[])
vm->heap_base = clib_mem_get_heap ();
ASSERT (vm->heap_base);
vm->heap_base = clib_mem_get_heap ();
ASSERT (vm->heap_base);
+ unformat_init_command_line (&input, (char **) vm->argv);
+ if ((e = vlib_plugin_config (vm, &input)))
+ {
+ clib_error_report (e);
+ return 1;
+ }
+ unformat_free (&input);
+
i = vlib_plugin_early_init (vm);
if (i)
return i;
i = vlib_plugin_early_init (vm);
if (i)
return i;