diff --git a/integrationtests/self/mitm_test.go b/integrationtests/self/mitm_test.go index 0c594027..2358562a 100644 --- a/integrationtests/self/mitm_test.go +++ b/integrationtests/self/mitm_test.go @@ -253,8 +253,7 @@ var _ = Describe("MITM test", func() { It("downloads a message when packet are corrupted towards the client", func() { dropCb := func(dir quicproxy.Direction, raw []byte) bool { defer GinkgoRecover() - isRetry := raw[0]&0xc0 == 0xc0 // don't corrupt Retry packets - if dir == quicproxy.DirectionOutgoing && mrand.Intn(interval) == 0 && !isRetry { + if dir == quicproxy.DirectionOutgoing && mrand.Intn(interval) == 0 { pos := mrand.Intn(len(raw)) raw[pos] = byte(mrand.Intn(256)) _, err := serverConn.WriteTo(raw, clientConn.LocalAddr())