summaryrefslogtreecommitdiffstats
path: root/src/vnet/gso/hdr_offset_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/gso/hdr_offset_parser.h')
-rw-r--r--src/vnet/gso/hdr_offset_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/gso/hdr_offset_parser.h b/src/vnet/gso/hdr_offset_parser.h
index b194333e780..8fa5cad56d1 100644
--- 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)
{