mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-03 20:17:54 +00:00
Updating device subscriber record.
This commit is contained in:
@@ -346,7 +346,7 @@ namespace OpenWifi::Provisioning::DeviceClass {
|
|||||||
static const char * ENTITY = "entity";
|
static const char * ENTITY = "entity";
|
||||||
|
|
||||||
inline bool Validate(const char *s) {
|
inline bool Validate(const char *s) {
|
||||||
static std::vector<const char *> Values{ ANY, ENTITY, SUBSCRIBER, VENUE };
|
static std::vector<std::string> Values{ ANY, ENTITY, SUBSCRIBER, VENUE };
|
||||||
return std::find(cbegin(Values), cend(Values), s) != cend(Values);
|
return std::find(cbegin(Values), cend(Values), s) != cend(Values);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user