diff options
Diffstat (limited to 'src/plugins/cnat')
-rw-r--r-- | src/plugins/cnat/cnat_snat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cnat/cnat_snat.c b/src/plugins/cnat/cnat_snat.c index cc83dce4b20..7c799065b57 100644 --- a/src/plugins/cnat/cnat_snat.c +++ b/src/plugins/cnat/cnat_snat.c @@ -25,11 +25,11 @@ cnat_compute_prefix_lengths_in_search_order (cnat_snat_pfx_table_t * vec_reset_length (table->meta[af].prefix_lengths_in_search_order); /* Note: bitmap reversed so this is in fact a longest prefix match */ /* *INDENT-OFF* */ - clib_bitmap_foreach (i, table->meta[af].non_empty_dst_address_length_bitmap, - ({ + clib_bitmap_foreach (i, table->meta[af].non_empty_dst_address_length_bitmap) + { int dst_address_length = 128 - i; vec_add1 (table->meta[af].prefix_lengths_in_search_order, dst_address_length); - })); + } /* *INDENT-ON* */ } |