Skip to content

Commit

Permalink
disable pcapng until finish testing
Browse files Browse the repository at this point in the history
  • Loading branch information
odedshimon committed Dec 12, 2020
1 parent 5174496 commit 88156eb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions BruteShark/PcapProcessor/Processor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -132,7 +133,6 @@ private void ReadPcapNGFile(string filepath)
{
reader.OnReadPacketEvent += ConvertPacket;
reader.ReadPackets(new CancellationToken());

}
}

Expand Down Expand Up @@ -177,7 +177,6 @@ void ProcessPacket(PacketDotNet.Packet packet)
{
try
{

var tcpPacket = packet.Extract<PacketDotNet.TcpPacket>();
var udpPacket = packet.Extract<PacketDotNet.UdpPacket>();

Expand Down

0 comments on commit 88156eb

Please sign in to comment.