aboutsummaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/interface_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/interface_format.c b/vnet/vnet/interface_format.c
index 840e72b61d7..319113f594a 100644
--- a/vnet/vnet/interface_format.c
+++ b/vnet/vnet/interface_format.c
@@ -87,7 +87,7 @@ u8 * format_vnet_hw_interface (u8 * s, va_list * args)
{
int hw_idx;
s = format (s, "Slave-Idx:");
- clib_bitmap_foreach (hw_idx, hi->bond_info, format(s, " %d", hw_idx));
+ clib_bitmap_foreach (hw_idx, hi->bond_info, s = format(s, " %d", hw_idx));
}
else if (dev_class->format_device_name)
s = format (s, "%U", dev_class->format_device_name, hi->dev_instance);