summaryrefslogtreecommitdiffstats
path: root/src/plugins/ikev2/ikev2_cli.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2021-09-28 18:59:53 +0200
committerDamjan Marion <dmarion@me.com>2021-10-08 11:18:23 +0000
commit3f59c639609be9768f592111e5f8a8a2c23db3ac (patch)
tree9373e62e8e41377c548a2438b099c1934d7887c9 /src/plugins/ikev2/ikev2_cli.c
parentfa6e7aacfcbb196251029560113fc4e9b2852518 (diff)
ikev2: lazy initialization
- do not initialize resources if ikev2 is not used. - process IKE packets only if we have profile(s) configured Type: improvement Change-Id: I57c95a888532eafd70989096c0555ebb1d7bef25 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2_cli.c')
-rw-r--r--src/plugins/ikev2/ikev2_cli.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/ikev2/ikev2_cli.c b/src/plugins/ikev2/ikev2_cli.c
index 3523ce079b6..382f1e19eba 100644
--- a/src/plugins/ikev2/ikev2_cli.c
+++ b/src/plugins/ikev2/ikev2_cli.c
@@ -805,11 +805,6 @@ VLIB_CLI_COMMAND (ikev2_initiate_command, static) = {
};
/* *INDENT-ON* */
-void
-ikev2_cli_reference (void)
-{
-}
-
static clib_error_t *
ikev2_set_log_level_command_fn (vlib_main_t * vm,
unformat_input_t * input,