interface: fix format_vnet_interface_output_trace

format vlib_buffer_t::flags into interface output trace

Type: fix

Signed-off-by: luoyaozu <luoyaozu@foxmail.com>
Change-Id: Icb48a6d3a7ebdff7a3d42efe62723b0f0f1ea507
This commit is contained in:
luoyaozu
2022-11-16 16:26:53 +08:00
committed by Matthew Smith
parent 3abb32c6fe
commit 863d1c8711

View File

@@ -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,