Skip to content

Commit

Permalink
https://telecominfraproject.atlassian.net/browse/WIFI-12868
Browse files Browse the repository at this point in the history
Signed-off-by: stephb9959 <[email protected]>
  • Loading branch information
stephb9959 committed Aug 29, 2023
1 parent d0931d9 commit 8a77ba8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RESTAPI/RESTAPI_radiussessions_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ namespace OpenWifi {
auto Command = GetParameter("operation","");

if(Command=="coadm") {
if(RADIUSSessionTracker()->SendCoADM(SerialNumber, Parameters.accountingSessionId)) {
auto Index = Parameters.accountingSessionId + Parameters.accountingMultiSessionId;
if(RADIUSSessionTracker()->SendCoADM(SerialNumber, Index)) {
return OK();
}
return BadRequest(RESTAPI::Errors::CouldNotPerformCommand);
Expand Down

0 comments on commit 8a77ba8

Please sign in to comment.