Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: move to new pool_foreach macros
[vpp.git]
/
src
/
plugins
/
l3xc
/
l3xc.c
diff --git
a/src/plugins/l3xc/l3xc.c
b/src/plugins/l3xc/l3xc.c
index
9839278
..
21f3eea
100644
(file)
--- a/
src/plugins/l3xc/l3xc.c
+++ b/
src/plugins/l3xc/l3xc.c
@@
-305,11
+305,11
@@
l3xc_walk (l3xc_walk_cb_t cb, void *ctx)
u32 l3xci;
/* *INDENT-OFF* */
u32 l3xci;
/* *INDENT-OFF* */
- pool_foreach_index
(l3xci, l3xc_pool,
-
(
{
+ pool_foreach_index
(l3xci, l3xc_pool)
+
{
if (!cb(l3xci, ctx))
break;
if (!cb(l3xci, ctx))
break;
- }
));
+ }
/* *INDENT-ON* */
}
/* *INDENT-ON* */
}
@@
-320,10
+320,10
@@
l3xc_show_cmd (vlib_main_t * vm,
l3xc_t *l3xc;
/* *INDENT-OFF* */
l3xc_t *l3xc;
/* *INDENT-OFF* */
- pool_foreach
(l3xc, l3xc_pool,
-
(
{
+ pool_foreach
(l3xc, l3xc_pool)
+
{
vlib_cli_output(vm, "%U", format_l3xc, l3xc);
vlib_cli_output(vm, "%U", format_l3xc, l3xc);
- }
));
+ }
/* *INDENT-ON* */
return (NULL);
/* *INDENT-ON* */
return (NULL);