mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Fix to characteristcs in rules engine.
This commit is contained in:
parent
a54c2b438c
commit
2eaff6d484
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ static _doZtFilterResult _doZtFilter(
|
|||
}
|
||||
}
|
||||
}
|
||||
thisRuleMatches = (uint8_t)((cf | rules[rn].v.characteristics) != 0);
|
||||
thisRuleMatches = (uint8_t)((cf & rules[rn].v.characteristics) != 0);
|
||||
FILTER_TRACE("%u %s %c (%.16llx | %.16llx)!=0 -> %u",rn,_rtn(rt),(((rules[rn].t & 0x80) != 0) ? '!' : '='),cf,rules[rn].v.characteristics,(unsigned int)thisRuleMatches);
|
||||
} break;
|
||||
case ZT_NETWORK_RULE_MATCH_FRAME_SIZE_RANGE:
|
||||
|
|
Loading…
Add table
Reference in a new issue