mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-02 03:27:51 +00:00
Merge pull request #93 from kinarasystems/ip_range_fix
WIFI-13518 FIx: IP range
This commit is contained in:
@@ -187,7 +187,7 @@ namespace OpenWifi {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NewObject.sourceIP.empty() && CIDR::ValidateIpRanges(NewObject.sourceIP)) {
|
if (!NewObject.sourceIP.empty() && !CIDR::ValidateIpRanges(NewObject.sourceIP)) {
|
||||||
return BadRequest(RESTAPI::Errors::InvalidIPRanges);
|
return BadRequest(RESTAPI::Errors::InvalidIPRanges);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user