projects
/
pingpong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skipped-packet correlation.
[pingpong.git]
/
Code
/
Projects
/
PacketLevelSignatureExtractor
/
src
/
main
/
java
/
edu
/
uci
/
iotproject
/
detection
/
layer2
/
Layer2ClusterMatcher.java
diff --git
a/Code/Projects/PacketLevelSignatureExtractor/src/main/java/edu/uci/iotproject/detection/layer2/Layer2ClusterMatcher.java
b/Code/Projects/PacketLevelSignatureExtractor/src/main/java/edu/uci/iotproject/detection/layer2/Layer2ClusterMatcher.java
index 5bf4655ddbf00bf6ce531b27531d09af041be6aa..e30c10886388848245838ce5f974dc3c915edcd2 100644
(file)
--- a/
Code/Projects/PacketLevelSignatureExtractor/src/main/java/edu/uci/iotproject/detection/layer2/Layer2ClusterMatcher.java
+++ b/
Code/Projects/PacketLevelSignatureExtractor/src/main/java/edu/uci/iotproject/detection/layer2/Layer2ClusterMatcher.java
@@
-170,6
+170,8
@@
public class Layer2ClusterMatcher extends AbstractClusterMatcher implements Laye
int skippedPackets = nextIndex - currIndex;
if (mMaxSkippedPackets < skippedPackets) {
mMaxSkippedPackets = skippedPackets;
int skippedPackets = nextIndex - currIndex;
if (mMaxSkippedPackets < skippedPackets) {
mMaxSkippedPackets = skippedPackets;
+ }
+ if (mLimitSkippedPackets < skippedPackets) {
stillMatch = false;
}
// mMaxSkippedPackets.add(skippedPackets);
stillMatch = false;
}
// mMaxSkippedPackets.add(skippedPackets);