mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-08-31 01:41:39 +08:00
fix:修正CIDR判断问题
This commit is contained in:
+1
-1
@@ -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