diff options
author | luoyaozu <luoyaozu@foxmail.com> | 2022-11-16 16:26:53 +0800 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-12-15 13:58:43 +0000 |
commit | 863d1c8711018ded9bd4db5f27851a0b8ac45836 (patch) | |
tree | 83348e309eced157fb9c24bf04adb939d41a012c | |
parent | 3abb32c6fe038d757493381b9ea19c19682ca026 (diff) |
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
-rw-r--r-- | src/vnet/interface_output.c | 5 |
1 files 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, |