From 36f7a6aeb021a549f2d684868303c9891bc0dd00 Mon Sep 17 00:00:00 2001 From: Mohsin Kazmi Date: Wed, 5 May 2021 14:26:38 +0200 Subject: vlib: fix the offload flags size Type: fix Change-Id: I433fe3799975fe3ba00fa30226f6e8dae34e88fc Signed-off-by: Mohsin Kazmi --- src/vnet/pg/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/pg/input.c') diff --git a/src/vnet/pg/input.c b/src/vnet/pg/input.c index d3501b3e3b6..98db46abd6a 100644 --- a/src/vnet/pg/input.c +++ b/src/vnet/pg/input.c @@ -1544,7 +1544,7 @@ fill_buffer_offload_flags (vlib_main_t *vm, u32 *buffers, u32 n_buffers, { vlib_buffer_t *b0 = vlib_get_buffer (vm, buffers[i]); u8 l4_proto = 0; - u32 oflags = 0; + vnet_buffer_oflags_t oflags = 0; ethernet_header_t *eh = (ethernet_header_t *) vlib_buffer_get_current (b0); -- cgit 1.2.3-korg