aboutsummaryrefslogtreecommitdiff
path: root/extensions/libxt_cluster.c
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-06-19 12:01:59 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-19 12:01:59 +0000
commitc0f3bbf7f4aaa21c37dbba7f939bd644358cceb7 (patch)
treed3b12fcc78b5ad0e8e25c7e3f068be047b461d91 /extensions/libxt_cluster.c
parent735bd681a5ee12a17c67917603467acaf4a58f33 (diff)
parentfae46950c0c0818cac1b37a7042b86fb03a75511 (diff)
downloadiptables-c0f3bbf7f4aaa21c37dbba7f939bd644358cceb7.tar.gz
Change-Id: I1d998418c5855999498995ff455ab0d13d3e43d4
Diffstat (limited to 'extensions/libxt_cluster.c')
-rw-r--r--extensions/libxt_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_cluster.c b/extensions/libxt_cluster.c
index c9c35ee2..d164bf69 100644
--- a/extensions/libxt_cluster.c
+++ b/extensions/libxt_cluster.c
@@ -156,7 +156,7 @@ static int cluster_xlate(struct xt_xlate *xl,
xt_xlate_add(xl, "%s %u seed 0x%08x ", jhash_st,
info->total_nodes, info->hash_seed);
for (node = 0; node < 32; node++) {
- if (info->node_mask & (1 << node)) {
+ if (info->node_mask & (1u << node)) {
if (needs_set == 0) {
xt_xlate_add(xl, "{ ");
needs_set = 1;