Update dependencies

This commit is contained in:
世界
2023-04-14 19:19:27 +08:00
parent 9df96ac7f1
commit 5c20d0b4d5
6 changed files with 19 additions and 19 deletions

View File

@@ -111,7 +111,7 @@ func (h *VLESS) DialContext(ctx context.Context, network string, destination M.S
if err != nil {
return nil, err
}
return &bufio.BindPacketConn{PacketConn: packetaddr.NewConn(packetConn, destination), Addr: destination}, nil
return bufio.NewBindPacketConn(packetaddr.NewConn(packetConn, destination), destination), nil
} else {
return h.client.DialEarlyPacketConn(conn, destination)
}