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 8a77ba8 commit df76913
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/RADIUSSessionTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,9 @@ namespace OpenWifi {
return false;
}

for(const auto &[_,session]:ap_hint->second) {
if(session->accountingSessionId==sessionId) {
SendCoADM(session);
}
auto session_hint = ap_hint->second.find(sessionId);
if(session_hint!=ap_hint->second.end()) {
SendCoADM(session_hint->second);
}

return true;
Expand Down

0 comments on commit df76913

Please sign in to comment.