]> Sergey Matveev's repositories - btrtrc.git/blobdiff - utp.go
Drop support for go 1.20
[btrtrc.git] / utp.go
diff --git a/utp.go b/utp.go
index aafd574e0b320e6d4a68c20f38bc235862f06a78..3066ca0923fce265ef365a86b813686cb030bd8a 100644 (file)
--- a/utp.go
+++ b/utp.go
@@ -13,6 +13,6 @@ type utpSocket interface {
        Accept() (net.Conn, error)
        Addr() net.Addr
        // net.Dialer but there's no interface.
-       DialContext(ctx context.Context, addr string) (net.Conn, error)
-       Dial(addr string) (net.Conn, error)
+       DialContext(ctx context.Context, network, addr string) (net.Conn, error)
+       // Dial(addr string) (net.Conn, error)
 }