mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-08-25 00:47:27 +00:00
Update tap/tcp_reader.go
Co-authored-by: Nimrod Gilboa Markevich <59927337+nimrod-up9@users.noreply.github.com>
This commit is contained in:
co-authored by
Nimrod Gilboa Markevich
parent
c176f4c737
commit
5aeb449a34
+1
-1
@@ -54,7 +54,7 @@ func (reader *tcpReader) run(options *api.TrafficFilteringOptions, wg *sync.Wait
|
||||
reader.counterPair = reader.parent.counterPairs[i]
|
||||
b := bufio.NewReader(reader)
|
||||
err := extension.Dissector.Dissect(b, reader, options)
|
||||
if err == nil || reader.isProtocolIdentified() {
|
||||
if reader.isProtocolIdentified() {
|
||||
break
|
||||
}
|
||||
reader.rewind()
|
||||
|
||||
Reference in New Issue
Block a user