diff options
author | Damjan Marion <damarion@cisco.com> | 2020-03-16 17:53:38 +0100 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2020-03-17 12:32:58 +0000 |
commit | 68449850783ed6a2570a864b2d12c79ff35c4072 (patch) | |
tree | a30e42bc77d7229f71b91d4d308ebf1a906da9be /src | |
parent | 933fcf489391f715339af685faefaf28701ecce2 (diff) |
ipsec: initialize algs to none in 'create ipsec tunnel' cli
Type: fix
Change-Id: I901c9384710eee5847b3fbce060c78e115ba4169
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ipsec/ipsec_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ipsec/ipsec_cli.c b/src/vnet/ipsec/ipsec_cli.c index 1ab8bd99db3..04061901ccc 100644 --- a/src/vnet/ipsec/ipsec_cli.c +++ b/src/vnet/ipsec/ipsec_cli.c @@ -729,8 +729,8 @@ create_ipsec_tunnel_command_fn (vlib_main_t * vm, ip46_address_t local_ip = ip46_address_initializer; ip46_address_t remote_ip = ip46_address_initializer; ip_address_t nh = IP_ADDRESS_V4_ALL_0S; - ipsec_crypto_alg_t crypto_alg; - ipsec_integ_alg_t integ_alg; + ipsec_crypto_alg_t crypto_alg = IPSEC_CRYPTO_ALG_NONE; + ipsec_integ_alg_t integ_alg = IPSEC_INTEG_ALG_NONE; ipsec_sa_flags_t flags; u32 local_spi, remote_spi, salt, table_id, fib_index; u32 instance = ~0; |