From 0b26bd78cfe62897d2926f64b4acc42f961975e7 Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 1 Dec 2017 06:58:56 -0800 Subject: vnet: fix a typo in vnet/buffer.c vnet_buffer->l3_hdr_offset should be displayed as l3-hdr-offset, not l2-hdr-offset. Change-Id: Ib8ec9d17a1b4167a2204002023ba2260e8ba36c4 Signed-off-by: Steven --- src/vnet/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet') diff --git a/src/vnet/buffer.c b/src/vnet/buffer.c index 78b32ea525f..38bda8cb6f4 100644 --- a/src/vnet/buffer.c +++ b/src/vnet/buffer.c @@ -33,7 +33,7 @@ format_vnet_buffer (u8 * s, va_list * args) a = format (a, "l2-hdr-offset %d ", vnet_buffer (b)->l2_hdr_offset); if (b->flags & VNET_BUFFER_F_L3_HDR_OFFSET_VALID) - a = format (a, "l2-hdr-offset %d ", vnet_buffer (b)->l3_hdr_offset); + a = format (a, "l3-hdr-offset %d ", vnet_buffer (b)->l3_hdr_offset); if (b->flags & VNET_BUFFER_F_L4_HDR_OFFSET_VALID) a = format (a, "l4-hdr-offset %d ", vnet_buffer (b)->l4_hdr_offset); -- cgit 1.2.3-korg