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
/
ct6
/
ct6.c
diff --git
a/src/plugins/ct6/ct6.c
b/src/plugins/ct6/ct6.c
index
15fa44a
..
d569a7c
100644
(file)
--- a/
src/plugins/ct6/ct6.c
+++ b/
src/plugins/ct6/ct6.c
@@
-322,10
+322,10
@@
show_ct6_command_fn_command_fn (vlib_main_t * vm,
0 /* pool */ , 0 /* header */ , verbose);
/* *INDENT-OFF* */
0 /* pool */ , 0 /* header */ , verbose);
/* *INDENT-OFF* */
- pool_foreach (s0, cmp->sessions[i]
,
-
(
{
+ pool_foreach (s0, cmp->sessions[i]
)
+
{
s = format (s, "%U", format_ct6_session, cmp, i, s0, verbose);
s = format (s, "%U", format_ct6_session, cmp, i, s0, verbose);
- }
));
+ }
/* *INDENT-ON* */
}
vlib_cli_output (cmp->vlib_main, "%v", s);
/* *INDENT-ON* */
}
vlib_cli_output (cmp->vlib_main, "%v", s);
@@
-431,10
+431,10
@@
test_ct6_command_fn_command_fn (vlib_main_t * vm,
}
/* *INDENT-OFF* */
}
/* *INDENT-OFF* */
- pool_foreach (s0, cmp->sessions[0]
,
-
(
{
+ pool_foreach (s0, cmp->sessions[0]
)
+
{
s = format (s, "%U", format_ct6_session, cmp, 0, s0, 1 /* verbose */);
s = format (s, "%U", format_ct6_session, cmp, 0, s0, 1 /* verbose */);
- }
));
+ }
/* *INDENT-ON* */
vlib_cli_output (vm, "\nEnd state: first index %d last index %d\n%v",
/* *INDENT-ON* */
vlib_cli_output (vm, "\nEnd state: first index %d last index %d\n%v",
@@
-451,10
+451,10
@@
test_ct6_command_fn_command_fn (vlib_main_t * vm,
ct6_update_session_hit (cmp, s0, 234.0);
/* *INDENT-OFF* */
ct6_update_session_hit (cmp, s0, 234.0);
/* *INDENT-OFF* */
- pool_foreach (s0, cmp->sessions[0]
,
-
(
{
+ pool_foreach (s0, cmp->sessions[0]
)
+
{
s = format (s, "%U", format_ct6_session, cmp, 0, s0, 1 /* verbose */);
s = format (s, "%U", format_ct6_session, cmp, 0, s0, 1 /* verbose */);
- }
));
+ }
/* *INDENT-ON* */
vlib_cli_output (vm, "\nEnd state: first index %d last index %d\n%v",
/* *INDENT-ON* */
vlib_cli_output (vm, "\nEnd state: first index %d last index %d\n%v",