diff options
Diffstat (limited to 'src/vnet/dpo')
-rw-r--r-- | src/vnet/dpo/interface_rx_dpo.c | 2 | ||||
-rw-r--r-- | src/vnet/dpo/load_balance_map.c | 6 | ||||
-rw-r--r-- | src/vnet/dpo/load_balance_map.h | 2 | ||||
-rw-r--r-- | src/vnet/dpo/lookup_dpo.c | 4 | ||||
-rw-r--r-- | src/vnet/dpo/mpls_label_dpo.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/vnet/dpo/interface_rx_dpo.c b/src/vnet/dpo/interface_rx_dpo.c index a624f514564..caaee65a897 100644 --- a/src/vnet/dpo/interface_rx_dpo.c +++ b/src/vnet/dpo/interface_rx_dpo.c @@ -365,7 +365,7 @@ format_interface_rx_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 *); interface_rx_dpo_trace_t * t = va_arg (*args, interface_rx_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); diff --git a/src/vnet/dpo/load_balance_map.c b/src/vnet/dpo/load_balance_map.c index 4e27e5db3d8..588c1a75a4f 100644 --- a/src/vnet/dpo/load_balance_map.c +++ b/src/vnet/dpo/load_balance_map.c @@ -88,10 +88,10 @@ load_balance_map_get_index (load_balance_map_t *lbm) } u8* -format_load_balance_map (u8 *s, va_list ap) +format_load_balance_map (u8 *s, va_list * ap) { - index_t lbmi = va_arg(ap, index_t); - u32 indent = va_arg(ap, u32); + index_t lbmi = va_arg(*ap, index_t); + u32 indent = va_arg(*ap, u32); load_balance_map_t *lbm; u32 n_buckets, ii; diff --git a/src/vnet/dpo/load_balance_map.h b/src/vnet/dpo/load_balance_map.h index 237f24b0138..f9344c01c1e 100644 --- a/src/vnet/dpo/load_balance_map.h +++ b/src/vnet/dpo/load_balance_map.h @@ -59,7 +59,7 @@ extern void load_balance_map_unlock(index_t lbmi); extern void load_balance_map_path_state_change(fib_node_index_t path_index); -extern u8* format_load_balance_map(u8 *s, va_list ap); +extern u8* format_load_balance_map(u8 *s, va_list *ap); extern void load_balance_map_show_mem(void); /** diff --git a/src/vnet/dpo/lookup_dpo.c b/src/vnet/dpo/lookup_dpo.c index af189eda44f..9426d1ceb54 100644 --- a/src/vnet/dpo/lookup_dpo.c +++ b/src/vnet/dpo/lookup_dpo.c @@ -595,7 +595,7 @@ format_lookup_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 *); lookup_trace_t * t = va_arg (*args, lookup_trace_t *); - uword indent = format_get_indent (s); + u32 indent = format_get_indent (s); s = format (s, "%U fib-index:%d addr:%U load-balance:%d", format_white_space, indent, t->fib_index, @@ -1113,7 +1113,7 @@ format_lookup_mpls_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 *); lookup_trace_t * t = va_arg (*args, lookup_trace_t *); - uword indent = format_get_indent (s); + u32 indent = format_get_indent (s); mpls_unicast_header_t hdr; hdr.label_exp_s_ttl = clib_net_to_host_u32(t->hdr.label_exp_s_ttl); diff --git a/src/vnet/dpo/mpls_label_dpo.c b/src/vnet/dpo/mpls_label_dpo.c index 2a6e7dd5e48..c6e8dcc475c 100644 --- a/src/vnet/dpo/mpls_label_dpo.c +++ b/src/vnet/dpo/mpls_label_dpo.c @@ -550,7 +550,7 @@ format_mpls_label_imposition_trace (u8 * s, va_list * args) CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *); mpls_label_imposition_trace_t * t; mpls_unicast_header_t hdr; - uword indent; + u32 indent; t = va_arg (*args, mpls_label_imposition_trace_t *); indent = format_get_indent (s); |