summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-10-13 13:59:17 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-10-13 13:59:17 -0700
commit8850a8610abe1dabd2c035e2e57ccbe1a4aff392 (patch)
tree970814aabf84aa68357c8da60f730eaf84536f1a /node/Network.cpp
parent2d6a4e5974430ea01cf424aab8b372ebc872b25f (diff)
downloadinfinitytier-8850a8610abe1dabd2c035e2e57ccbe1a4aff392.tar.gz
infinitytier-8850a8610abe1dabd2c035e2e57ccbe1a4aff392.zip
Fix filter trace.
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 177f1a6d..8a30f5f8 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -499,7 +499,7 @@ static _doZtFilterResult _doZtFilter(
}
}
thisRuleMatches = (uint8_t)((cf | rules[rn].v.characteristics) != 0);
- FILTER_TRACE("%u %s %c (%.16llx & %.16llx)==%.16llx -> %u",rn,_rtn(rt),(((rules[rn].t & 0x80) != 0) ? '!' : '='),cf,rules[rn].v.characteristics[0],rules[rn].v.characteristics[1],(unsigned int)thisRuleMatches);
+ 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:
thisRuleMatches = (uint8_t)((frameLen >= (unsigned int)rules[rn].v.frameSize[0])&&(frameLen <= (unsigned int)rules[rn].v.frameSize[1]));