Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-7831
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Oct 4, 2023
1 parent e1af5ad commit 5bb9c1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/RESTAPI/RESTAPI_radiusendpoint_list_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace OpenWifi {

std::string Error;
uint64_t ErrorNum = 0;
R.UpdateEndpoints(Error, ErrorNum);
R.UpdateEndpoints(this, Error, ErrorNum);

Poco::JSON::Object Answer;
Answer.set("Error", Error);
Expand Down
4 changes: 2 additions & 2 deletions src/RadiusEndpointUpdater.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace OpenWifi {
O.set("servers", ServerArray);
}

inline bool UpdateEndpoints( [[maybe_unused]] std::string & Error,
inline bool UpdateEndpoints( RESTAPIHandler *Client, [[maybe_unused]] std::string & Error,
[[maybe_unused]] uint64_t &ErrorNum ) {

std::vector<ProvObjects::RADIUSEndPoint> Endpoints;
Expand Down Expand Up @@ -168,7 +168,7 @@ namespace OpenWifi {
DBGLINE
GWObjects::RadiusProxyPoolList NewPools;
DBGLINE
if(SDK::GW::RADIUS::SetConfiguration(nullptr,RadiusConfig,NewPools)) {
if(SDK::GW::RADIUS::SetConfiguration(Client,RadiusConfig,NewPools)) {
DBGLINE
AppServiceRegistry().Set("radiusEndpointLastUpdate", Utils::Now());
DBGLINE
Expand Down

0 comments on commit 5bb9c1f

Please sign in to comment.