aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/dpo/l2_bridge_dpo.c
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-10-12 10:53:31 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-10-14 09:13:39 +0000
commite3ea79747a3fb6770842a809b818aaf32e06f02b (patch)
tree7098da8575aa41bc59e11829a03cc41828cafec3 /src/vnet/dpo/l2_bridge_dpo.c
parent41988e58ba8bced39f3aa85b2a0c0fb37c9343ce (diff)
change format_get_indent() to use u32 instead of uword
This follows commit d3c008d108aa2187d1a2afe2833b4de25ca2c2ab by Christophe Fontaine. Change-Id: I0c4df40df44be2ac0ab25817fa050a1f619eca4d Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet/dpo/l2_bridge_dpo.c')
-rw-r--r--src/vnet/dpo/l2_bridge_dpo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/dpo/l2_bridge_dpo.c b/src/vnet/dpo/l2_bridge_dpo.c
index 169478148c3..7317fcdacc3 100644
--- a/src/vnet/dpo/l2_bridge_dpo.c
+++ b/src/vnet/dpo/l2_bridge_dpo.c
@@ -342,7 +342,7 @@ format_l2_bridge_dpo_trace (u8 * s, va_list * args)
CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *);
CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *);
l2_bridge_dpo_trace_t * t = va_arg (*args, l2_bridge_dpo_trace_t *);
- uword indent = format_get_indent (s);
+ u32 indent = format_get_indent (s);
s = format (s, "%U sw_if_index:%d",
format_white_space, indent,
t->sw_if_index);