mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-31 10:11:59 +00:00
Fix rewind
#run_acceptance_tests
This commit is contained in:
@@ -83,6 +83,7 @@ func (reader *tcpReader) isProtocolIdentified() bool {
|
||||
}
|
||||
|
||||
func (reader *tcpReader) rewind() {
|
||||
reader.data = make([]byte, len(reader.pastData))
|
||||
copy(reader.data, reader.pastData)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user