Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-12692
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Oct 23, 2023
1 parent f5095b9 commit cb10ea6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RESTObjects/RESTAPI_GWobjects.h
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ namespace OpenWifi::GWObjects {
};

enum class RadiusPoolStrategy {
round_robbin, random, weighted, unknown
round_robin, random, weighted, unknown
};

enum class RadiusEndpointType {
Expand All @@ -469,7 +469,7 @@ namespace OpenWifi::GWObjects {
}

static inline RadiusPoolStrategy RadiusPoolStrategy(const std::string &T) {
if(T=="round_robbin") return RadiusPoolStrategy::round_robbin;
if(T=="round_robin") return RadiusPoolStrategy::round_robin;
if(T=="random") return RadiusPoolStrategy::random;
if(T=="weighted") return RadiusPoolStrategy::weighted;
return RadiusPoolStrategy::unknown;
Expand All @@ -488,7 +488,7 @@ namespace OpenWifi::GWObjects {

static inline std::string to_string(enum RadiusPoolStrategy T) {
switch(T) {
case RadiusPoolStrategy::round_robbin: return "round_robbin";
case RadiusPoolStrategy::round_robin: return "round_robin";
case RadiusPoolStrategy::random: return "random";
case RadiusPoolStrategy::weighted: return "weighted";
default:
Expand Down

0 comments on commit cb10ea6

Please sign in to comment.