aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/span/span.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/span/span.c')
-rw-r--r--src/vnet/span/span.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/span/span.c b/src/vnet/span/span.c
index fc923e0ce31..ec47920504a 100644
--- a/src/vnet/span/span.c
+++ b/src/vnet/span/span.c
@@ -212,7 +212,7 @@ show_interfaces_span_command_fn (vlib_main_t * vm,
}
s = format (s, "%U", format_vnet_sw_if_index_name, vnm,
si - sm->interfaces);
- clib_bitmap_foreach (i, b, (
+ clib_bitmap_foreach (i, b)
{
int device = (clib_bitmap_get (drxm->mirror_ports, i) +
clib_bitmap_get (dtxm->mirror_ports, i) * 2);
@@ -223,7 +223,7 @@ show_interfaces_span_command_fn (vlib_main_t * vm,
format_vnet_sw_if_index_name, vnm, i,
states[device], states[l2]);
vec_reset_length (s);
- }));
+ }
clib_bitmap_free (b);
clib_bitmap_free (l);
clib_bitmap_free (d);