summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ipsec/ipsec_api.c')
-rw-r--r--src/vnet/ipsec/ipsec_api.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index a26f486d6ef..4b4ce4e1770 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -146,6 +146,8 @@ static void vl_api_ipsec_spd_entry_add_del_t_handler
u32 stat_index;
int rv;
+ stat_index = ~0;
+
#if WITH_LIBSSL > 0
ipsec_policy_t p;