summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/devices/virtio/device.c2
-rw-r--r--src/vnet/pg/pg.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/device.c b/src/vnet/devices/virtio/device.c
index 32c1eab6b34..5c4412fdb0b 100644
--- a/src/vnet/devices/virtio/device.c
+++ b/src/vnet/devices/virtio/device.c
@@ -74,8 +74,8 @@ typedef struct
{
u32 buffer_index;
u32 sw_if_index;
- vlib_buffer_t buffer;
generic_header_offset_t gho;
+ vlib_buffer_t buffer;
} virtio_tx_trace_t;
static u8 *
diff --git a/src/vnet/pg/pg.h b/src/vnet/pg/pg.h
index f5b5e5ac358..da2c2b54347 100644
--- a/src/vnet/pg/pg.h
+++ b/src/vnet/pg/pg.h
@@ -402,8 +402,8 @@ clib_error_t *pg_capture (pg_capture_args_t * a);
typedef struct
{
- vlib_buffer_t buffer;
u32 buffer_index;
+ vlib_buffer_t buffer;
}
pg_output_trace_t;