Fix 192.168 should mask 16

This commit is contained in:
柏喵Sakura 2025-01-07 17:59:02 +08:00 committed by GitHub
parent 9ee51a96d8
commit a852bc569f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ func parseIP(ip string) []string {
reg := regexp.MustCompile(`[a-zA-Z]+`)
switch {
case ip == "192":
return parseIP("192.168.0.0/8")
return parseIP("192.168.0.0/16")
case ip == "172":
return parseIP("172.16.0.0/12")
case ip == "10":