Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
943a4b0
)
ipsec: silence gcc-11 parentheses warning
97/34297/1
author
Damjan Marion
<damarion@cisco.com>
Sun, 31 Oct 2021 19:02:19 +0000
(20:02 +0100)
committer
Damjan Marion
<damarion@cisco.com>
Sun, 31 Oct 2021 19:03:01 +0000
(20:03 +0100)
Type: fix
This reverts commit
5ecda99d673298e5bf3c906e9bf6682fdcb57d83
.
Change-Id: I393c7d8a6b32aa4f178d6b6dac025038bbf10fe6
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vnet/ipsec/esp_encrypt.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/esp_encrypt.c
b/src/vnet/ipsec/esp_encrypt.c
index
d102bd6
..
33484e9
100644
(file)
--- 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
}