aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/builtinurl
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/builtinurl')
-rw-r--r--src/plugins/builtinurl/builtins.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/builtinurl/builtins.c b/src/plugins/builtinurl/builtins.c
index 6b2b57bce7f..04567c0f8c5 100644
--- a/src/plugins/builtinurl/builtins.c
+++ b/src/plugins/builtinurl/builtins.c
@@ -101,10 +101,10 @@ handle_get_interface_stats (http_builtin_method_type_t reqtype,
else /* default, HTTP_BUILTIN_METHOD_GET */
{
/* *INDENT-OFF* */
- pool_foreach (hi, im->hw_interfaces,
- ({
+ pool_foreach (hi, im->hw_interfaces)
+ {
vec_add1 (sw_if_indices, hi->sw_if_index);
- }));
+ }
/* *INDENT-ON* */
}
@@ -156,12 +156,12 @@ handle_get_interface_list (http_builtin_method_type_t reqtype,
/* Construct vector of active hw_if_indexes ... */
/* *INDENT-OFF* */
- pool_foreach (hi, im->hw_interfaces,
- ({
+ pool_foreach (hi, im->hw_interfaces)
+ {
/* No point in mentioning "local0"... */
if (hi - im->hw_interfaces)
vec_add1 (hw_if_indices, hi - im->hw_interfaces);
- }));
+ }
/* *INDENT-ON* */
/* Build answer */