diff options
author | Damjan Marion <damarion@cisco.com> | 2020-12-13 23:26:56 +0100 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-12-14 12:14:21 +0000 |
commit | f0ca1e8d92114582ec9142bd15a40f1eb0102793 (patch) | |
tree | aba56d88d909387605ba7fdaf7fc0fd5d3ff565c /src/vnet/handoff.c | |
parent | b2c31b685fd2cf28436ca32bc93e23eb24c74878 (diff) |
misc: refactor clib_bitmap_foreach macro
Type: refactor
Change-Id: I077110e1a422722e20aa546a6f3224c06ab0cde5
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/handoff.c')
-rw-r--r-- | src/vnet/handoff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vnet/handoff.c b/src/vnet/handoff.c index ca46b5a7ab6..cbdc5289243 100644 --- a/src/vnet/handoff.c +++ b/src/vnet/handoff.c @@ -213,10 +213,10 @@ interface_handoff_enable_disable (vlib_main_t * vm, u32 sw_if_index, { d->workers_bitmap = bitmap; /* *INDENT-OFF* */ - clib_bitmap_foreach (i, bitmap, - ({ + clib_bitmap_foreach (i, bitmap) + { vec_add1(d->workers, i); - })); + } /* *INDENT-ON* */ } |