Skip to content

Commit 252fa29

Browse files
sangjinhanchanglan
authored andcommitted
Use true in place of 1
1 parent 26a3f5d commit 252fa29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/modules/wildcard_match.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ CommandResponse WildcardMatch::CommandGetRules(const bess::pb::EmptyArg &) {
366366
for (auto &field : fields_) {
367367
uint64_t data = 0;
368368
bess::utils::bin_to_uint64(&data, entry_data + field.pos, field.size,
369-
1);
369+
true);
370370
rule->add_values(data);
371371
uint64_t mask_data = 0;
372372
bess::utils::bin_to_uint64(&mask_data, entry_mask + field.pos,
373-
field.size, 1);
373+
field.size, true);
374374
rule->add_masks(mask_data);
375375
}
376376
}

0 commit comments

Comments
 (0)