session: fix application_lookup_name fail due to app_by_name default hash type wrong
Type: fix
@@ -1753,6 +1753,7 @@ application_init (vlib_main_t * vm)
/* Add a certificate with index 0 to support legacy apis */
(void) app_cert_key_pair_alloc ();
app_main.last_crypto_engine = CRYPTO_ENGINE_LAST;
+ app_main.app_by_name = hash_create_vec (0, sizeof (u8), sizeof (uword));
return 0;
}
