diff options
Diffstat (limited to 'src/vnet/buffer.c')
-rw-r--r-- | src/vnet/buffer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/buffer.c b/src/vnet/buffer.c index f12adf7eb64..f793fb4fc03 100644 --- a/src/vnet/buffer.c +++ b/src/vnet/buffer.c @@ -38,6 +38,10 @@ format_vnet_buffer (u8 * s, va_list * args) if (b->flags & VNET_BUFFER_F_L4_HDR_OFFSET_VALID) a = format (a, "l4-hdr-offset %d ", vnet_buffer (b)->l4_hdr_offset); + if (b->flags & VNET_BUFFER_F_QOS_DATA_VALID) + a = format (a, "qos %d.%d ", + vnet_buffer2 (b)->qos.bits, vnet_buffer2 (b)->qos.source); + s = format (s, "%U", format_vlib_buffer, b); if (a) s = format (s, "\n%U%v", format_white_space, indent, a); |