From: Damjan Marion Date: Sun, 31 Oct 2021 19:02:19 +0000 (+0100) Subject: ipsec: silence gcc-11 parentheses warning X-Git-Tag: v22.06-rc0~339 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d0b266006010a3737203f0d97a24fb6609cc25e8;p=vpp.git ipsec: silence gcc-11 parentheses warning Type: fix This reverts commit 5ecda99d673298e5bf3c906e9bf6682fdcb57d83. Change-Id: I393c7d8a6b32aa4f178d6b6dac025038bbf10fe6 Signed-off-by: Damjan Marion --- diff --git a/src/vnet/ipsec/esp_encrypt.c b/src/vnet/ipsec/esp_encrypt.c index d102bd68f74..33484e9cf43 100644 --- a/src/vnet/ipsec/esp_encrypt.c +++ b/src/vnet/ipsec/esp_encrypt.c @@ -204,7 +204,7 @@ ext_hdr_is_pre_esp (u8 nexthdr) #else return ((nexthdr ^ IP_PROTOCOL_IP6_HOP_BY_HOP_OPTIONS) | (nexthdr ^ IP_PROTOCOL_IPV6_ROUTE) | - (nexthdr ^ IP_PROTOCOL_IPV6_FRAGMENTATION) != 0); + ((nexthdr ^ IP_PROTOCOL_IPV6_FRAGMENTATION) != 0)); #endif }