X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fmfib%2Fip6_mfib.c;fp=src%2Fvnet%2Fmfib%2Fip6_mfib.c;h=bbab7ae221405f831b44cdbc538a6a230014882f;hb=f0ca1e8d92114582ec9142bd15a40f1eb0102793;hp=b5e5bce8ffcb838f1f7ec6060652efee206a3989;hpb=b2c31b685fd2cf28436ca32bc93e23eb24c74878;p=vpp.git diff --git a/src/vnet/mfib/ip6_mfib.c b/src/vnet/mfib/ip6_mfib.c index b5e5bce8ffc..bbab7ae2214 100644 --- a/src/vnet/mfib/ip6_mfib.c +++ b/src/vnet/mfib/ip6_mfib.c @@ -457,10 +457,10 @@ compute_prefix_lengths_in_search_order (ip6_mfib_table_instance_t *table) int i; vec_reset_length (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) + { vec_add1(table->prefix_lengths_in_search_order, (256 - i)); - })); + } } void