Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ipsec: huge anti-replay window support
[vpp.git]
/
src
/
vppinfra
/
bitmap.h
diff --git
a/src/vppinfra/bitmap.h
b/src/vppinfra/bitmap.h
index
abb1405
..
99d6595
100644
(file)
--- a/
src/vppinfra/bitmap.h
+++ b/
src/vppinfra/bitmap.h
@@
-245,7
+245,7
@@
clib_bitmap_get_multiple_no_check (uword * ai, uword i, uword n_bits)
uword i0 = i / BITS (ai[0]);
uword i1 = i % BITS (ai[0]);
ASSERT (i1 + n_bits <= BITS (uword));
uword i0 = i / BITS (ai[0]);
uword i1 = i % BITS (ai[0]);
ASSERT (i1 + n_bits <= BITS (uword));
- return
0 !=
((ai[i0] >> i1) & pow2_mask (n_bits));
+ return ((ai[i0] >> i1) & pow2_mask (n_bits));
}
/** Gets the ith through ith + n_bits bit values from a bitmap
}
/** Gets the ith through ith + n_bits bit values from a bitmap