diff options
Diffstat (limited to 'src/vnet/vxlan')
-rw-r--r-- | src/vnet/vxlan/vxlan.c | 6 | ||||
-rw-r--r-- | src/vnet/vxlan/vxlan_api.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/vnet/vxlan/vxlan.c b/src/vnet/vxlan/vxlan.c index 742103a7887..bf205adc8fb 100644 --- a/src/vnet/vxlan/vxlan.c +++ b/src/vnet/vxlan/vxlan.c @@ -862,10 +862,10 @@ show_vxlan_tunnel_command_fn (vlib_main_t * vm, vlib_cli_output (vm, "No vxlan tunnels configured..."); /* *INDENT-OFF* */ - pool_foreach (t, vxm->tunnels, - ({ + pool_foreach (t, vxm->tunnels) + { vlib_cli_output (vm, "%U", format_vxlan_tunnel, t); - })); + } /* *INDENT-ON* */ if (raw) diff --git a/src/vnet/vxlan/vxlan_api.c b/src/vnet/vxlan/vxlan_api.c index 8e5b346c394..0e51f3dab5a 100644 --- a/src/vnet/vxlan/vxlan_api.c +++ b/src/vnet/vxlan/vxlan_api.c @@ -232,10 +232,10 @@ static void vl_api_vxlan_tunnel_dump_t_handler if (~0 == sw_if_index) { /* *INDENT-OFF* */ - pool_foreach (t, vxm->tunnels, - ({ + pool_foreach (t, vxm->tunnels) + { send_vxlan_tunnel_details(t, reg, mp->context); - })); + } /* *INDENT-ON* */ } else |