X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Fip6_fib.c;h=62bf16f0efcb641f7dc4ccd5835f8a177d296fd9;hb=f0ca1e8d92114582ec9142bd15a40f1eb0102793;hp=6943166663f0b0ea2b24b4d7a49570b7c8052ded;hpb=b2c31b685fd2cf28436ca32bc93e23eb24c74878;p=vpp.git diff --git a/src/vnet/fib/ip6_fib.c b/src/vnet/fib/ip6_fib.c index 6943166663f..62bf16f0efc 100644 --- a/src/vnet/fib/ip6_fib.c +++ b/src/vnet/fib/ip6_fib.c @@ -264,11 +264,11 @@ compute_prefix_lengths_in_search_order (ip6_fib_table_instance_t *table) old = table->prefix_lengths_in_search_order; /* Note: bitmap reversed so this is in fact a longest prefix match */ - clib_bitmap_foreach (i, table->non_empty_dst_address_length_bitmap, - ({ + clib_bitmap_foreach (i, table->non_empty_dst_address_length_bitmap) + { int dst_address_length = 128 - i; vec_add1(prefix_lengths_in_search_order, dst_address_length); - })); + } table->prefix_lengths_in_search_order = prefix_lengths_in_search_order;