forked from quic-go/quic-go
avoid type confusion between protocol.PacketType and logging.PacketType
The enums have completely different meanings. protocol.PacketType only defines long header types, whereas logging.PacketType defines all different types of QUIC packets (including short header packets).
This commit is contained in:
@@ -37,7 +37,7 @@ func (m *MockTracer) EXPECT() *MockTracerMockRecorder {
|
||||
}
|
||||
|
||||
// DroppedPacket mocks base method.
|
||||
func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 protocol.PacketType, arg2 protocol.ByteCount, arg3 PacketDropReason) {
|
||||
func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 PacketType, arg2 protocol.ByteCount, arg3 PacketDropReason) {
|
||||
m.ctrl.T.Helper()
|
||||
m.ctrl.Call(m, "DroppedPacket", arg0, arg1, arg2, arg3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user