summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_cli.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-05-13 23:07:43 -0700
committerFlorin Coras <florin.coras@gmail.com>2019-05-14 17:51:19 +0000
commit0224514c28bdee05ea11a89a721c810e5f99ede2 (patch)
treed7366e769a2ff8037d662f32eaabbda55d23f303 /src/vnet/ipsec/ipsec_cli.c
parent3fb65bea2be23cc6ea8a93e840afc93cf89f9ea5 (diff)
IPSEC coverity fixes
Change-Id: I753fbce091c0ba1004690be5ddeb04f463cf95a3 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_cli.c')
-rw-r--r--src/vnet/ipsec/ipsec_cli.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_cli.c b/src/vnet/ipsec/ipsec_cli.c
index 46912147bbd..38a2fed4587 100644
--- a/src/vnet/ipsec/ipsec_cli.c
+++ b/src/vnet/ipsec/ipsec_cli.c
@@ -375,8 +375,10 @@ set_ipsec_sa_key_command_fn (vlib_main_t * vm,
vlib_cli_command_t * cmd)
{
unformat_input_t _line_input, *line_input = &_line_input;
+ ipsec_key_t ck = { }, ik =
+ {
+ };
clib_error_t *error = NULL;
- ipsec_key_t ck, ik;
u32 id;
if (!unformat_user (input, unformat_line_input, line_input))