diff options
author | jiangxiaoming <jiangxiaoming@outlook.com> | 2020-07-13 16:21:33 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-07-13 17:07:17 +0000 |
commit | b495e9fd6d75eee7e6193a362d2271e270d39ccf (patch) | |
tree | fb7787f4bcbcb22dd4e466b9c3a5bf0e04c69e30 | |
parent | 47cb248424b4eab20a6b3cf8768f62ee3f8f0273 (diff) |
session: fix application_lookup_name fail due to app_by_name default hash type wrong
Type: fix
Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com>
Change-Id: I539c431d991234c6cebc0961588f5dfbc9caa3c2
-rw-r--r-- | src/vnet/session/application.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index 86e75c83ed0..8ca6e2cb751 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -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; } |