X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip4_mtrie.c;h=fbb8a7480742b24732d4085f4a9bc3c965592606;hb=9744e6d0273c0d7d11ab4f271c8694f69d51ccf3;hp=6cd199a971e23ec52c82e66766e98a8463c6b0b0;hpb=eb97e5f548b009ffa92efa3f778b4a7f6f40b7eb;p=vpp.git diff --git a/src/vnet/ip/ip4_mtrie.c b/src/vnet/ip/ip4_mtrie.c old mode 100644 new mode 100755 index 6cd199a971e..fbb8a748074 --- a/src/vnet/ip/ip4_mtrie.c +++ b/src/vnet/ip/ip4_mtrie.c @@ -551,9 +551,7 @@ unset_leaf (ip4_fib_mtrie_t * m, old_ply->leaves[i] = ip4_fib_mtrie_leaf_set_adj_index (a->cover_adj_index); - old_ply->dst_address_bits_of_leaves[i] = - clib_max (old_ply->dst_address_bits_base, - a->cover_address_length); + old_ply->dst_address_bits_of_leaves[i] = a->cover_address_length; old_ply->n_non_empty_leafs += ip4_fib_mtrie_leaf_is_non_empty (old_ply, i);