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
/
lisp
/
lisp-cp
/
one_cli.c
diff --git
a/src/plugins/lisp/lisp-cp/one_cli.c
b/src/plugins/lisp/lisp-cp/one_cli.c
index
b435326
..
b85fea1
100644
(file)
--- a/
src/plugins/lisp/lisp-cp/one_cli.c
+++ b/
src/plugins/lisp/lisp-cp/one_cli.c
@@
-1157,8
+1157,8
@@
lisp_show_eid_table_command_fn (vlib_main_t * vm,
if (print_all)
{
/* *INDENT-OFF* */
if (print_all)
{
/* *INDENT-OFF* */
- pool_foreach (mapit, lcm->mapping_pool
,
-
(
{
+ pool_foreach (mapit, lcm->mapping_pool
)
+
{
if (mapit->pitr_set || mapit->nsh_set)
continue;
if (mapit->pitr_set || mapit->nsh_set)
continue;
@@
-1171,7
+1171,7
@@
lisp_show_eid_table_command_fn (vlib_main_t * vm,
}
vlib_cli_output (vm, "%U", format_eid_entry, lcm->vnet_main,
lcm, mapit, ls);
}
vlib_cli_output (vm, "%U", format_eid_entry, lcm->vnet_main,
lcm, mapit, ls);
- }
));
+ }
/* *INDENT-ON* */
}
else
/* *INDENT-ON* */
}
else
@@
-1841,8
+1841,8
@@
lisp_cp_show_locator_sets_command_fn (vlib_main_t * vm,
"Priority", "Weight");
/* *INDENT-OFF* */
"Priority", "Weight");
/* *INDENT-OFF* */
- pool_foreach (lsit, lcm->locator_set_pool
,
-
(
{
+ pool_foreach (lsit, lcm->locator_set_pool
)
+
{
u8 * msg = 0;
int next_line = 0;
if (lsit->local)
u8 * msg = 0;
int next_line = 0;
if (lsit->local)
@@
-1871,7
+1871,7
@@
lisp_cp_show_locator_sets_command_fn (vlib_main_t * vm,
}
vlib_cli_output (vm, "%v", msg);
vec_free (msg);
}
vlib_cli_output (vm, "%v", msg);
vec_free (msg);
- }
));
+ }
/* *INDENT-ON* */
return 0;
}
/* *INDENT-ON* */
return 0;
}