X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fesp_decrypt.c;h=7737d186865f3d98d50f8f8ebfdbf0885dc3cca8;hb=7c22ff72aa54d15484fdc70e0c1b8a9ec5e880e0;hp=c6cb439f1f80711b199953756e33e323e694141e;hpb=085637f5d5d25023c4e7b13c9dcacfcf512aceee;p=vpp.git diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index c6cb439f1f8..7737d186865 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -157,7 +157,7 @@ esp_decrypt_inline (vlib_main_t * vm, { current_sa_index = vnet_buffer (b[0])->ipsec.sad_index; sa0 = pool_elt_at_index (im->sad, current_sa_index); - cpd.icv_sz = sa0->integ_trunc_size; + cpd.icv_sz = sa0->integ_icv_size; cpd.iv_sz = sa0->crypto_iv_size; cpd.flags = sa0->flags; cpd.sa_index = current_sa_index;