summaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
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 /vpp-api-test/vat
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 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index dac6788972c..3b2c91cf449 100644
--- a/vpp-api-test/vat/api_format.c
+++ b/vpp-api-test/vat/api_format.c
@@ -9661,7 +9661,7 @@ api_ipsec_sad_add_del_entry (vat_main_t * vam)
vl_api_ipsec_sad_add_del_entry_t *mp;
f64 timeout;
u32 sad_id, spi;
- u8 * ck, * ik;
+ u8 * ck = 0, * ik = 0;
u8 is_add = 1;
u8 protocol = IPSEC_PROTOCOL_AH;
@@ -9773,7 +9773,7 @@ api_ipsec_sa_set_key (vat_main_t * vam)
vl_api_ipsec_sa_set_key_t *mp;
f64 timeout;
u32 sa_id;
- u8 * ck, * ik;
+ u8 * ck = 0, * ik = 0;
while (unformat_check_input (i) != UNFORMAT_END_OF_INPUT) {
if (unformat (i, "sa_id %d", &sa_id))