summaryrefslogtreecommitdiff
path: root/servergreps/hercules/src/reporter.py
diff options
context:
space:
mode:
Diffstat (limited to 'servergreps/hercules/src/reporter.py')
-rwxr-xr-xservergreps/hercules/src/reporter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/servergreps/hercules/src/reporter.py b/servergreps/hercules/src/reporter.py
index af05a65..87be910 100755
--- a/servergreps/hercules/src/reporter.py
+++ b/servergreps/hercules/src/reporter.py
@@ -235,7 +235,10 @@ class Reporter:
with open(self.packetDir + "/" + hercules.reportName + "_" + fork.reportName + "_outpackets.txt", "w") as w:
for packet in fork.outPacketsSorted:
if packet not in hercules.packetsSet:
- w.write("Exists only in " + name + ": " + packet + "\n")
+ if packet in fork.getLenPackets and packet not in fork.knownLenPackets:
+ w.write("Exists only in " + name + ", but missing packet size: " + packet + "\n")
+ else:
+ w.write("Exists only in " + name + ": " + packet + "\n")
with open(self.packetDir + "/" + hercules.reportName + "_" + fork.reportName + "_inpackets.txt", "w") as w:
for packet in fork.inPacketsSorted:
if packet not in hercules.inPackets: