fix format_hexdump
Change-Id: I9710be2e722d716e22d989b3417fb49d2db0848a
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vppinfra/std-formats.c b/src/vppinfra/std-formats.c
index debf194..832dbb5 100644
--- a/src/vppinfra/std-formats.c
+++ b/src/vppinfra/std-formats.c
@@ -313,7 +313,8 @@
if (vec_len (line_hex))
s = format (s, "%U%05x: %v[%v]",
- format_white_space, indent, index, line_hex, line_str);
+ format_white_space, index ? indent : 0,
+ index, line_hex, line_str);
vec_free (line_hex);
vec_free (line_str);