summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/ebt_among.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/ebt_among.c b/extensions/ebt_among.c
index b1560e8..30c098c 100644
--- a/extensions/ebt_among.c
+++ b/extensions/ebt_among.c
@@ -436,14 +436,14 @@ static void print(const struct ebt_u_entry *entry,
if (info->wh_dst_ofs) {
printf("--among-dst ");
- if (info->bitmask && EBT_AMONG_DST_NEG) {
+ if (info->bitmask & EBT_AMONG_DST_NEG) {
printf("! ");
}
wormhash_printout(ebt_among_wh_dst(info));
}
if (info->wh_src_ofs) {
printf("--among-src ");
- if (info->bitmask && EBT_AMONG_SRC_NEG) {
+ if (info->bitmask & EBT_AMONG_SRC_NEG) {
printf("! ");
}
wormhash_printout(ebt_among_wh_src(info));