From 863d1c8711018ded9bd4db5f27851a0b8ac45836 Mon Sep 17 00:00:00 2001 From: luoyaozu Date: Wed, 16 Nov 2022 16:26:53 +0800 Subject: interface: fix format_vnet_interface_output_trace format vlib_buffer_t::flags into interface output trace Type: fix Signed-off-by: luoyaozu Change-Id: Icb48a6d3a7ebdff7a3d42efe62723b0f0f1ea507 --- src/vnet/interface_output.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c index a19bbb867c3..28c52687b24 100644 --- a/src/vnet/interface_output.c +++ b/src/vnet/interface_output.c @@ -85,9 +85,8 @@ format_vnet_interface_output_trace (u8 * s, va_list * va) else { si = vnet_get_sw_interface (vnm, t->sw_if_index); - s = - format (s, "%U ", format_vnet_sw_interface_name, vnm, si, - t->flags); + s = format (s, "%U flags 0x%08x", format_vnet_sw_interface_name, vnm, + si, t->flags); } s = format (s, "\n%U%U", format_white_space, indent, -- cgit 1.2.3-korg