diff options
Diffstat (limited to 'src/vnet/ipsec/esp_decrypt.c')
-rw-r--r-- | src/vnet/ipsec/esp_decrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/esp_decrypt.c b/src/vnet/ipsec/esp_decrypt.c index 3e09d9d74c2..c6cb439f1f8 100644 --- a/src/vnet/ipsec/esp_decrypt.c +++ b/src/vnet/ipsec/esp_decrypt.c @@ -396,7 +396,7 @@ esp_decrypt_inline (vlib_main_t * vm, } } - if (vnet_buffer (b[0])->ipsec.flags & IPSEC_FLAG_IPSEC_GRE_TUNNEL) + if (PREDICT_FALSE (ipsec_sa_is_set_IS_GRE (sa0))) next[0] = ESP_DECRYPT_NEXT_IPSEC_GRE_INPUT; trace: |