X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=vnet%2Fvnet%2Fipsec%2Fipsec_if_in.c;h=93cedce2057335eb54c159930347d00f65be76fe;hb=refs%2Fchanges%2F39%2F3839%2F2;hp=07d4bf3035246ca4302ec8bc445926ff3a3d8334;hpb=08a6f01590d768bb4d8d96c8ca4678e98fc2666d;p=vpp.git diff --git a/vnet/vnet/ipsec/ipsec_if_in.c b/vnet/vnet/ipsec/ipsec_if_in.c index 07d4bf30352..93cedce2057 100644 --- a/vnet/vnet/ipsec/ipsec_if_in.c +++ b/vnet/vnet/ipsec/ipsec_if_in.c @@ -111,9 +111,8 @@ ipsec_if_input_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node, { ipsec_tunnel_if_t *t; t = pool_elt_at_index (im->tunnel_interfaces, p[0]); - vnet_buffer (b0)->output_features.ipsec_sad_index = - t->input_sa_index; - vnet_buffer (b0)->output_features.ipsec_flags = + vnet_buffer (b0)->ipsec.sad_index = t->input_sa_index; + vnet_buffer (b0)->ipsec.flags = t->hw_if_index == ~0 ? IPSEC_FLAG_IPSEC_GRE_TUNNEL : 0; vlib_buffer_advance (b0, ip4_header_bytes (ip0)); next0 = IPSEC_IF_INPUT_NEXT_ESP_DECRYPT;