From 88156ebe8c1754915abf87a284eaf88883eb4069 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 12 Dec 2020 22:11:02 +0200 Subject: [PATCH] disable pcapng until finish testing --- BruteShark/PcapProcessor/Processor.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BruteShark/PcapProcessor/Processor.cs b/BruteShark/PcapProcessor/Processor.cs index 099a1bf..1ce66ed 100644 --- a/BruteShark/PcapProcessor/Processor.cs +++ b/BruteShark/PcapProcessor/Processor.cs @@ -85,7 +85,8 @@ public void ProcessPcap(string filePath) } else { - ReadPcapNGFile(filePath); + // TODO: Enable this after testing PCAPNG + // ReadPcapNGFile(filePath); } // Raise event for each Tcp session that was built. @@ -132,7 +133,6 @@ private void ReadPcapNGFile(string filepath) { reader.OnReadPacketEvent += ConvertPacket; reader.ReadPackets(new CancellationToken()); - } } @@ -177,7 +177,6 @@ void ProcessPacket(PacketDotNet.Packet packet) { try { - var tcpPacket = packet.Extract(); var udpPacket = packet.Extract();