From 166d9abe7c5b36d104b95b93d487ac8da1e4574a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 9 Dec 2020 16:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E4=B8=8A=E4=B8=AA?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=20IPv6=20=E6=B5=8B=E9=80=9F=E6=8A=A5=E9=94=99=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IPRangeLoader.go | 1 + 1 file changed, 1 insertion(+) diff --git a/IPRangeLoader.go b/IPRangeLoader.go index eb77780a..99526631 100644 --- a/IPRangeLoader.go +++ b/IPRangeLoader.go @@ -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])