summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.h4
-rw-r--r--src/plugins/mactime/builtins.c8
2 files changed, 5 insertions, 7 deletions
diff --git a/src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.h b/src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.h
index a170787f5b2..322580007c4 100644
--- a/src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.h
+++ b/src/plugins/lisp/lisp-gpe/lisp_gpe_fwd_entry.h
@@ -212,8 +212,8 @@ vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t * a,
extern void vnet_lisp_gpe_fwd_entry_flush (void);
-extern u32 lisp_l2_fib_lookup (lisp_gpe_main_t * lgm,
- u16 bd_index, u8 src_mac[8], u8 dst_mac[8]);
+extern u32 lisp_l2_fib_lookup (lisp_gpe_main_t *lgm, u16 bd_index,
+ u8 src_mac[6], u8 dst_mac[6]);
extern const dpo_id_t *lisp_nsh_fib_lookup (lisp_gpe_main_t * lgm,
u32 spi_si);
diff --git a/src/plugins/mactime/builtins.c b/src/plugins/mactime/builtins.c
index d7fd7a0b32b..321502454a2 100644
--- a/src/plugins/mactime/builtins.c
+++ b/src/plugins/mactime/builtins.c
@@ -42,12 +42,10 @@ handle_get_mactime (http_builtin_method_type_t reqtype,
if (PREDICT_FALSE ((now - mm->sunday_midnight) > 86400.0 * 7.0))
mm->sunday_midnight = clib_timebase_find_sunday_midnight (now);
- /* *INDENT-OFF* */
- pool_foreach (dp, mm->devices)
- {
- vec_add1 (pool_indices, dp - mm->devices);
+ pool_foreach (dp, mm->devices)
+ {
+ vec_add1 (pool_indices, dp - mm->devices);
}
- /* *INDENT-ON* */
s = format (s, "{%smactime%s: [\n", q, q);