aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2016-07-26 23:54:07 -0700
committerMatus Fabian <matfabia@cisco.com>2016-07-26 23:54:07 -0700
commit683d3ee1b136060ef38290b6ab3a21c9a4730c4f (patch)
treeebce96b0d71e351465daf62e90d2d3527071a618 /vnet
parent8e5b041f2bef0b800efe77b3e8eb909ac05302b8 (diff)
VPP-214: IPSec cli/api vector ck and ik initialization
Change-Id: I34e19d1feb350c47987b9764b642ef9baa000581 Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/ipsec/ipsec_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnet/vnet/ipsec/ipsec_cli.c b/vnet/vnet/ipsec/ipsec_cli.c
index 1d19e537b88..7150dcff154 100644
--- a/vnet/vnet/ipsec/ipsec_cli.c
+++ b/vnet/vnet/ipsec/ipsec_cli.c
@@ -67,7 +67,7 @@ ipsec_sa_add_del_command_fn (vlib_main_t * vm,
unformat_input_t _line_input, * line_input = &_line_input;
ipsec_sa_t sa;
int is_add = ~0;
- u8 * ck, * ik;
+ u8 * ck = 0, * ik = 0;
memset(&sa, 0, sizeof(sa));
@@ -287,7 +287,7 @@ set_ipsec_sa_key_command_fn (vlib_main_t * vm,
{
unformat_input_t _line_input, * line_input = &_line_input;
ipsec_sa_t sa;
- u8 * ck, * ik;
+ u8 * ck = 0, * ik = 0;
memset(&sa, 0, sizeof(sa));