summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/ip6_forward.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2021-05-05 14:26:38 +0200
committerDamjan Marion <dmarion@me.com>2021-05-06 10:28:02 +0000
commit36f7a6aeb021a549f2d684868303c9891bc0dd00 (patch)
tree730f3b7ed52c07e52d863d5f467debcb4c4ca8c7 /src/vnet/ip/ip6_forward.c
parent11e0d752e67ac3da804e2af798d12995ae401434 (diff)
vlib: fix the offload flags size
Type: fix Change-Id: I433fe3799975fe3ba00fa30226f6e8dae34e88fc Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6_forward.c')
-rw-r--r--src/vnet/ip/ip6_forward.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/ip/ip6_forward.c b/src/vnet/ip/ip6_forward.c
index 4f1b148c365..5d7014070bd 100644
--- a/src/vnet/ip/ip6_forward.c
+++ b/src/vnet/ip/ip6_forward.c
@@ -1333,7 +1333,7 @@ ip6_local_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
flags[0] = b[0]->flags;
flags[1] = b[1]->flags;
- u32 oflags[2];
+ vnet_buffer_oflags_t oflags[2];
oflags[0] = vnet_buffer (b[0])->oflags;
oflags[1] = vnet_buffer (b[1])->oflags;
@@ -1524,7 +1524,7 @@ ip6_local_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
u32 flags = b[0]->flags;
- u32 oflags = vnet_buffer (b[0])->oflags;
+ vnet_buffer_oflags_t oflags = vnet_buffer (b[0])->oflags;
u32 l4_offload = (flags & VNET_BUFFER_F_OFFLOAD) &&
(oflags & (VNET_BUFFER_OFFLOAD_F_TCP_CKSUM |