diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2020-07-06 15:40:08 +0000 |
---|---|---|
committer | BenoƮt Ganne <bganne@cisco.com> | 2020-07-20 13:47:42 +0000 |
commit | 459d17bb7d051566c587c4f963014fdbbe99ff6a (patch) | |
tree | 0543e4c973d4e70bcd093678e37732bd77e40c9b /src/plugins/ikev2/ikev2_cli.c | |
parent | 30fa97dc67ce566f8f5080d8452ff0a646fe928e (diff) |
ikev2: refactor and test profile dump API
Type: refactor
Change-Id: I6b8dc68e5d4a452776fbaf5a69fbd7f53a8abb75
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/plugins/ikev2/ikev2_cli.c')
-rw-r--r-- | src/plugins/ikev2/ikev2_cli.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/ikev2/ikev2_cli.c b/src/plugins/ikev2/ikev2_cli.c index 30de10b6d95..687e6f24d87 100644 --- a/src/plugins/ikev2/ikev2_cli.c +++ b/src/plugins/ikev2/ikev2_cli.c @@ -379,7 +379,6 @@ ikev2_profile_add_del_command_fn (vlib_main_t * vm, { r = ikev2_set_profile_esp_transforms (vm, name, crypto_alg, integ_alg, - IKEV2_TRANSFORM_DH_TYPE_NONE, tmp1); goto done; } @@ -390,9 +389,7 @@ ikev2_profile_add_del_command_fn (vlib_main_t * vm, unformat_ikev2_transform_encr_type, &crypto_alg, &tmp1)) { r = - ikev2_set_profile_esp_transforms (vm, name, crypto_alg, 0, - IKEV2_TRANSFORM_DH_TYPE_NONE, - tmp1); + ikev2_set_profile_esp_transforms (vm, name, crypto_alg, 0, tmp1); goto done; } else if (unformat (line_input, "set %U sa-lifetime %lu %u %u %lu", |