Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vxlan: Fixed checksum caclculation offset
[vpp.git]
/
src
/
vnet
/
gso
/
hdr_offset_parser.h
diff --git
a/src/vnet/gso/hdr_offset_parser.h
b/src/vnet/gso/hdr_offset_parser.h
index
b194333
..
8fa5cad
100644
(file)
--- a/
src/vnet/gso/hdr_offset_parser.h
+++ b/
src/vnet/gso/hdr_offset_parser.h
@@
-376,7
+376,7
@@
vnet_generic_outer_header_parser_inline (vlib_buffer_t * b0,
u16 ethertype = 0;
u16 l2hdr_sz = 0;
- ASSERT (
is_ip4 ^ is_ip6
);
+ ASSERT (
!(is_ip4 && is_ip6)
);
if (is_l2)
{