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
diff --git a/src/vnet/interface_output.c b/src/vnet/interface_output.c
index a19bbb8..28c5268 100644
--- a/src/vnet/interface_output.c
+++ b/src/vnet/interface_output.c
@@ -85,9 +85,8 @@
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,