From d0b266006010a3737203f0d97a24fb6609cc25e8 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 31 Oct 2021 20:02:19 +0100 Subject: [PATCH] ipsec: silence gcc-11 parentheses warning Type: fix This reverts commit 5ecda99d673298e5bf3c906e9bf6682fdcb57d83. Change-Id: I393c7d8a6b32aa4f178d6b6dac025038bbf10fe6 Signed-off-by: Damjan Marion --- src/vnet/ipsec/esp_encrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.16.6