Skip to content

Commit

Permalink
修复 上个版本更新导致的 IPv6 测速报错的问题。
Browse files Browse the repository at this point in the history
  • Loading branch information
XIU2 committed Dec 9, 2020
1 parent f9c310b commit 166d9ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions IPRangeLoader.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func loadFirstIPOfRangeFromFile(ipFile string) []net.IPAddr {
}
if ipv6Mode { // IPv6
var tempIP uint8
MaxIPNum = 254
for IPRange.Contains(firstIP) {
//fmt.Println(firstIP)
//fmt.Println(firstIP[0], firstIP[1], firstIP[2], firstIP[3], firstIP[4], firstIP[5], firstIP[6], firstIP[7], firstIP[8], firstIP[9], firstIP[10], firstIP[11], firstIP[12], firstIP[13], firstIP[14], firstIP[15])
Expand Down

0 comments on commit 166d9ab

Please sign in to comment.