diff options
-rw-r--r-- | src/vnet/ipsec/ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec.c b/src/vnet/ipsec/ipsec.c index 92210493e78..522b9589972 100644 --- a/src/vnet/ipsec/ipsec.c +++ b/src/vnet/ipsec/ipsec.c @@ -316,7 +316,7 @@ ipsec_init (vlib_main_t * vm) i->op_type = VNET_CRYPTO_OP_SHA512_HMAC; i->trunc_size = 32; - vec_validate_aligned (im->ptd, vec_len (vlib_mains), CLIB_CACHE_LINE_BYTES); + vec_validate_aligned (im->ptd, vlib_num_workers (), CLIB_CACHE_LINE_BYTES); return 0; } |