From 23b33fab207d51605e1fb12c0dbf71aa63037e49 Mon Sep 17 00:00:00 2001 From: Ivan Chvets Date: Wed, 29 May 2024 11:08:16 -0400 Subject: [PATCH] fix: replaced incorrect case conversion for device type https://telecominfraproject.atlassian.net/browse/OLS-56 Summary of changes: - Replaced incorrect case conversion for device type. Signed-off-by: Ivan Chvets --- src/framework/ConfigurationValidator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/ConfigurationValidator.h b/src/framework/ConfigurationValidator.h index 5986802c..855efaca 100644 --- a/src/framework/ConfigurationValidator.h +++ b/src/framework/ConfigurationValidator.h @@ -31,7 +31,7 @@ namespace OpenWifi { void reinitialize(Poco::Util::Application &self) override; inline static ConfigurationType GetType(const std::string &type) { - std::string Type = Poco::toUpper(type); + std::string Type = Poco::toLower(type); if (Type == Platforms::AP) return ConfigurationType::AP; if (Type == Platforms::SWITCH)