Skipped-packet correlation.
[pingpong.git] / Code / Projects / PacketLevelSignatureExtractor / src / main / java / edu / uci / iotproject / detection / layer2 / Layer2ClusterMatcher.java
index 5bf4655ddbf00bf6ce531b27531d09af041be6aa..e30c10886388848245838ce5f974dc3c915edcd2 100644 (file)
@@ -170,6 +170,8 @@ public class Layer2ClusterMatcher extends AbstractClusterMatcher implements Laye
             int skippedPackets = nextIndex - currIndex;
             if (mMaxSkippedPackets < skippedPackets) {
                 mMaxSkippedPackets = skippedPackets;
+            }
+            if (mLimitSkippedPackets < skippedPackets) {
                 stillMatch = false;
             }
 //            mMaxSkippedPackets.add(skippedPackets);