mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-08-20 12:56: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