summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_output.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface_output.h')
-rw-r--r--src/vnet/interface_output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/interface_output.h b/src/vnet/interface_output.h
index ef7aaa8999e..c408fca9ca9 100644
--- a/src/vnet/interface_output.h
+++ b/src/vnet/interface_output.h
@@ -92,7 +92,8 @@ vnet_calc_checksums_inline (vlib_main_t * vm, vlib_buffer_t * b,
if (with_gso)
{
generic_header_offset_t gho = { 0 };
- vnet_generic_header_offset_parser (b, &gho);
+ vnet_generic_header_offset_parser (b, &gho, 1 /* l2 */ , is_ip4,
+ is_ip6);
ASSERT (gho.gho_flags ^ (GHO_F_IP4 | GHO_F_IP6));