diff options
Diffstat (limited to 'src/vnet/interface_format.c')
-rw-r--r-- | src/vnet/interface_format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/interface_format.c b/src/vnet/interface_format.c index 0c051dd4757..f74a4ea7c20 100644 --- a/src/vnet/interface_format.c +++ b/src/vnet/interface_format.c @@ -290,7 +290,7 @@ format_vnet_sw_if_index_name (u8 * s, va_list * args) if (NULL == si) { - return format (s, "DELETED"); + return format (s, "DELETED (%u)", sw_if_index); } return format (s, "%U", format_vnet_sw_interface_name, vnm, si); } @@ -305,7 +305,7 @@ format_vnet_hw_if_index_name (u8 * s, va_list * args) hi = vnet_get_hw_interface (vnm, hw_if_index); if (hi == 0) - return format (s, "DELETED"); + return format (s, "DELETED (%u)", hw_if_index); return format (s, "%v", hi->name); } |