mirror of
https://github.com/Telecominfraproject/wlan-cloud-owls.git
synced 2026-03-20 03:40:28 +00:00
Adding new stats.
This commit is contained in:
@@ -59,7 +59,9 @@ namespace OpenWifi {
|
||||
D.key.empty() ||
|
||||
D.deviceType.empty() ||
|
||||
!GooDeviceType(D.deviceType) ||
|
||||
D.certificate.empty()) {
|
||||
D.certificate.empty() ||
|
||||
(D.maxClients<D.minClients) ||
|
||||
(D.maxAssociations<D.minAssociations)) {
|
||||
return BadRequest(RESTAPI::Errors::InvalidJSONDocument);
|
||||
}
|
||||
|
||||
@@ -104,7 +106,10 @@ namespace OpenWifi {
|
||||
D.macPrefix.size()!=6 ||
|
||||
D.key.empty() ||
|
||||
D.certificate.empty() ||
|
||||
D.deviceType.empty()) {
|
||||
D.deviceType.empty() ||
|
||||
!GooDeviceType(D.deviceType) ||
|
||||
(D.maxClients<D.minClients) ||
|
||||
(D.maxAssociations<D.minAssociations)) {
|
||||
return BadRequest(RESTAPI::Errors::InvalidJSONDocument);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user