X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgbp%2Fgbp_subnet.c;fp=src%2Fplugins%2Fgbp%2Fgbp_subnet.c;h=8d3b571657ceac3b6e1f6351807f94f3614bf06c;hb=b2c31b685fd2cf28436ca32bc93e23eb24c74878;hp=2ef3fcfd534d0b6fcc9a947b9ff355f8123e9a5f;hpb=62c25abaa3e93be5815172d391295a6ab0390122;p=vpp.git diff --git a/src/plugins/gbp/gbp_subnet.c b/src/plugins/gbp/gbp_subnet.c index 2ef3fcfd534..8d3b571657c 100644 --- a/src/plugins/gbp/gbp_subnet.c +++ b/src/plugins/gbp/gbp_subnet.c @@ -424,8 +424,8 @@ gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx) sw_if_index = ~0; /* *INDENT-OFF* */ - pool_foreach (gs, gbp_subnet_pool, - ({ + pool_foreach (gs, gbp_subnet_pool) + { grd = gbp_route_domain_get(gs->gs_rd); switch (gs->gs_type) @@ -447,7 +447,7 @@ gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx) if (WALK_STOP == cb (grd->grd_id, &gs->gs_key->gsk_pfx, gs->gs_type, sw_if_index, sclass, ctx)) break; - })); + } /* *INDENT-ON* */ } @@ -549,11 +549,11 @@ gbp_subnet_show (vlib_main_t * vm, else { /* *INDENT-OFF* */ - pool_foreach_index(gsi, gbp_subnet_pool, - ({ + pool_foreach_index (gsi, gbp_subnet_pool) + { vlib_cli_output (vm, "%U", format_gbp_subnet, gsi, GBP_SUBNET_SHOW_BRIEF); - })); + } /* *INDENT-ON* */ }