summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven <sluong@cisco.com>2017-12-01 06:58:56 -0800
committerSteven <sluong@cisco.com>2017-12-01 07:00:18 -0800
commit0b26bd78cfe62897d2926f64b4acc42f961975e7 (patch)
treeed047afb8b103e8836ea75a70bd470df5e5af4b0
parentf953dfc8e01426ce93588e9013c112e48a9a8463 (diff)
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 <sluong@cisco.com>
-rw-r--r--src/vnet/buffer.c2
1 files changed, 1 insertions, 1 deletions
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);