mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-03 19:48:45 +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() {
|
func (reader *tcpReader) rewind() {
|
||||||
|
reader.data = make([]byte, len(reader.pastData))
|
||||||
copy(reader.data, reader.pastData)
|
copy(reader.data, reader.pastData)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user