Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 测速模式报错 #17

Closed
tejing opened this issue Dec 9, 2020 · 2 comments
Closed

IPv6 测速模式报错 #17

tejing opened this issue Dec 9, 2020 · 2 comments
Labels
反馈问题 某些功能失效 或 没有达到预期

Comments

@tejing
Copy link

tejing commented Dec 9, 2020

如题,出现一下错误信息:
G:\CloudflareST>CloudflareST.exe -p 0 -f ipv6.txt -dd -ipv6
panic: invalid argument to Intn

goroutine 1 [running]:
math/rand.(*Rand).Intn(0xc0000b8330, 0xffffffffffffffff, 0x10)
C:/Program1/Go/src/math/rand/rand.go:169 +0xa5
math/rand.Intn(...)
C:/Program1/Go/src/math/rand/rand.go:337
main.randipEndWith(...)
C:/Github/CloudflareSpeedTest/util.go:95
main.loadFirstIPOfRangeFromFile(0xc0000a20a8, 0x8, 0xc0000b90e0, 0xc0000a20c9, 0x4)
C:/Github/CloudflareSpeedTest/IPRangeLoader.go:48 +0x1d9
main.main()
C:/Github/CloudflareSpeedTest/main.go:135 +0x88

CloudflareST版本是 -v1.4.1

@XIU2
Copy link
Owner

XIU2 commented Dec 9, 2020

简单看了下,是我上个版本更新导致的,当时也没测试 IPv6 的...
我看看怎么修复。

@XIU2
Copy link
Owner

XIU2 commented Dec 9, 2020

更新内容

  1. 修复 IPv6 测速报错的问题。IPv6 测速模式报错 #17
    上个版本更新时没测试完全。

@XIU2 XIU2 closed this as completed Dec 9, 2020
@XIU2 XIU2 changed the title 查询ipv6时报错,希望解决一下! IPv6 测速模式报错 Dec 9, 2020
@XIU2 XIU2 added the 反馈问题 某些功能失效 或 没有达到预期 label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
反馈问题 某些功能失效 或 没有达到预期
Projects
None yet
Development

No branches or pull requests

2 participants