diff options
author | 2017-03-07 12:52:31 -0500 | |
---|---|---|
committer | 2017-03-07 21:33:46 +0000 | |
commit | 45e4f365086267ef2551b1dedf4e309bdd00a34a (patch) | |
tree | 140db35fa966369f131575648dcce7b61799b6e5 /src/vpp/vnet | |
parent | 3466c30261950823828d1dad0d2fb170ee2f9aaf (diff) |
Missing plugin binary API command fns found after brief search
Create hash tables before loading plugins. Previous init sequence
wiped out most if not all of them.
Change-Id: I5dd628895f68f740d525951511a9fef1822d39da
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vpp/vnet')
-rw-r--r-- | src/vpp/vnet/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c index 4a96ca94..a566d956 100644 --- a/src/vpp/vnet/main.c +++ b/src/vpp/vnet/main.c @@ -25,6 +25,8 @@ static void vpe_main_init (vlib_main_t * vm) { + void vat_plugin_hash_create (void); + if (CLIB_DEBUG > 0) vlib_unix_cli_set_prompt ("DBGvpp# "); else @@ -33,6 +35,10 @@ vpe_main_init (vlib_main_t * vm) /* Turn off network stack components which we don't want */ vlib_mark_init_function_complete (vm, srp_init); + /* + * Create the binary api plugin hashes before loading plugins + */ + vat_plugin_hash_create (); } /* |