From d444ff3c6258b9d89458be2f4adcb9b79a2f5845 Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Thu, 5 Oct 2023 00:40:40 +0800 Subject: [PATCH] =?UTF-8?q?fix=20bug:IPv4=E8=A2=AB=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E4=B8=BALAN=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ipgeo/ipfilter.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ipgeo/ipfilter.go b/ipgeo/ipfilter.go index abdff2d..a7b95db 100644 --- a/ipgeo/ipfilter.go +++ b/ipgeo/ipfilter.go @@ -94,10 +94,6 @@ func Filter(ip string) (*IPGeoData, bool) { asn = "" whois = "RFC4291" isFiltered = true - case cidrRangeContains("::ffff:0:0/96", ip): - asn = "" - whois = "RFC4291" - isFiltered = true case cidrRangeContains("64:ff9b::/96", ip): asn = "" whois = "RFC6052"