mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-10 15:00:31 +00:00
Don't break the dissector loop. Protocols might collide
This commit is contained in:
@@ -103,9 +103,6 @@ func (h *tcpReader) run(wg *sync.WaitGroup, isClient bool) {
|
||||
|
||||
for _, extension := range extensions {
|
||||
r.Reset(data)
|
||||
err := extension.Dissector.Dissect(bufio.NewReader(r), isClient, h.tcpID, h.Emitter)
|
||||
if err == nil {
|
||||
break
|
||||
}
|
||||
extension.Dissector.Dissect(bufio.NewReader(r), isClient, h.tcpID, h.Emitter)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user