aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-10-09 16:23:26 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-10-10 20:08:21 +0000
commit7fbdb6aa5602a74f946ffa333aea8e8e74b9639d (patch)
tree80ebb18b6bd1455e2d2d471b318d996573864aac
parent02833ff3294f4abbd8e3d52b38446e0f8f533ffc (diff)
session: fix typos & cert_key store init
Type: fix Change-Id: I865534de9f16bff586106e0850f131de1e9cbf24 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
-rw-r--r--src/vnet/session/application.c7
-rw-r--r--src/vnet/session/application_interface.h3
2 files changed, 4 insertions, 6 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c
index 82c890f56ce..396470ae6f9 100644
--- a/src/vnet/session/application.c
+++ b/src/vnet/session/application.c
@@ -1593,7 +1593,7 @@ vnet_app_add_cert_key_pair (vnet_app_add_cert_key_pair_args_t * a)
}
int
-vent_app_add_cert_key_interest (u32 index, u32 app_index)
+vnet_app_add_cert_key_interest (u32 index, u32 app_index)
{
app_cert_key_pair_t *ckpair;
if (!(ckpair = app_cert_key_pair_get_if_valid (index)))
@@ -1634,10 +1634,7 @@ cert_key_pair_store_init (vlib_main_t * vm)
}
/* *INDENT-OFF* */
-VLIB_INIT_FUNCTION (cert_key_pair_store_init) =
-{
- .runs_after = VLIB_INITS("unix_physmem_init"),
-};
+VLIB_INIT_FUNCTION (cert_key_pair_store_init);
VLIB_CLI_COMMAND (show_app_command, static) =
{
diff --git a/src/vnet/session/application_interface.h b/src/vnet/session/application_interface.h
index 17864029d6b..e5e36b841d1 100644
--- a/src/vnet/session/application_interface.h
+++ b/src/vnet/session/application_interface.h
@@ -256,7 +256,8 @@ clib_error_t *vnet_app_add_tls_cert (vnet_app_add_tls_cert_args_t * a);
clib_error_t *vnet_app_add_tls_key (vnet_app_add_tls_key_args_t * a);
int vnet_app_add_cert_key_pair (vnet_app_add_cert_key_pair_args_t * a);
int vnet_app_del_cert_key_pair (u32 index);
-int vent_app_add_cert_key_interest (u32 index, u32 app_index); /* Ask for app cb on pair deletion */
+/** Ask for app cb on pair deletion */
+int vnet_app_add_cert_key_interest (u32 index, u32 app_index);
typedef struct app_session_transport_
{