sync: 同步 v1.0.4 并脱敏配置与镜像

This commit is contained in:
MiFaZhan
2026-10-29 14:36:49 +08:00
parent 743e8e6e6e
commit 2206a393f7
516 changed files with 18119 additions and 2253 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ func TestAsyncIPLookupLimitsConcurrentQueries(t *testing.T) {
}
func TestGetCityByIPSkipsPrivateAndInvalidAddresses(t *testing.T) {
for _, ip := range []string{"127.0.0.1", "[::1]", "::1", "10.1.2.3", "172.23.0.6", "192.168.100.29", "fe80::1", "0.0.0.0"} {
for _, ip := range []string{"127.0.0.1", "[::1]", "::1", "127.0.0.1", "127.0.0.1", "127.0.0.1", "fe80::1", "0.0.0.0"} {
if got := GetCityByIp(ip); got != "内网IP" {
t.Errorf("%s: got %q", ip, got)
}