mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 06:58:54 +08:00
fix:修正CIDR判断问题
This commit is contained in:
@@ -186,7 +186,7 @@ func CheckIPInCIDR(ip string, ipRange string) bool {
|
||||
if ip == ipRange {
|
||||
return true
|
||||
} else {
|
||||
return true
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
//如果是网段IP
|
||||
|
||||
Reference in New Issue
Block a user