This commit is contained in:
Neale Pickett 2020-06-30 18:28:21 -06:00
parent ac599bb481
commit dd6e4859f4
1 changed files with 8 additions and 9 deletions

View File

@ -2,13 +2,13 @@ package main
import (
"fmt"
"github.com/dirtbags/netshovel"
"github.com/google/gopacket"
"github.com/google/gopacket/tcpassembly"
"io"
"log"
"strings"
"sync"
"github.com/google/gopacket"
"github.com/google/gopacket/tcpassembly"
"github.com/dirtbags/netshovel"
)
var wg sync.WaitGroup
@ -55,7 +55,6 @@ func (stream SimpleStream) Decode(wg *sync.WaitGroup) {
for {
pkt := NewSimplePacket()
utterance, err := stream.Read(-1)
if err != nil {
if err != io.EOF {