Update CheckBelongPrivate.go

添加127.0.0.1
master
wangsiyuan 2023-06-19 11:46:54 +08:00
parent 6afa3a7eca
commit ae1d0d3d37
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ func GetIPInformation(ip string) IPInformation {
parseCIDR("10.0.0.0/8"), parseCIDR("10.0.0.0/8"),
parseCIDR("172.16.0.0/12"), parseCIDR("172.16.0.0/12"),
parseCIDR("192.168.0.0/16"), parseCIDR("192.168.0.0/16"),
parseCIDR("127.0.0.1/16"),
} }
ipAddr := net.ParseIP(ip) ipAddr := net.ParseIP(ip)