diff --git a/quic_net.go b/quic_net.go index 3371973..f9191f8 100644 --- a/quic_net.go +++ b/quic_net.go @@ -104,10 +104,10 @@ func (c *Conn) SetWriteDeadline(t time.Time) error { var _ net.Listener = (*Listener)(nil) type Listener struct { - ql quic.Listener + ql *quic.Listener } -func Listen(ql quic.Listener) net.Listener { +func Listen(ql *quic.Listener) net.Listener { return &Listener{ql} }