mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-10-29 17:52:28 +00:00
Signed-off-by: stephb9959 <stephane.bourque@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user