Skip to content

Commit

Permalink
chore(sessiond): Review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vikram G <vikram.gurrappagaru@radisys.com>
  • Loading branch information
vikramgreddy committed May 16, 2022
1 parent 0eeafa8 commit 6f04a68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lte/gateway/c/session_manager/RestartHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* limitations under the License.
*/
#include "lte/gateway/c/session_manager/RestartHandler.hpp"
#include "lte/gateway/c/session_manager/GrpcMagmaUtils.hpp"

#include <cxxabi.h>
#include <glog/logging.h>
Expand Down Expand Up @@ -141,6 +142,8 @@ bool RestartHandler::populate_sessions_to_terminate_with_retries() {
directoryd_res.set_value(false);
return;
}
PrintGrpcMessage(
static_cast<const google::protobuf::Message&>(response));
for (auto& record : response.records()) {
auto session_iter = record.fields().find("session_id");
if (session_iter == record.fields().end()) {
Expand Down
1 change: 1 addition & 0 deletions lte/gateway/c/session_manager/UpfMsgManageHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ void UpfMsgManageHandler::SendPagingRequest(
if (!status.ok()) {
MLOG(MERROR) << "Subscriber could not be found for ip ";
}
PrintGrpcMessage(static_cast<const google::protobuf::Message&>(sid));
std::string imsi = prepend_imsi_with_prefix(sid.id());
get_session_from_imsi(imsi, fte_id, response_callback);
return;
Expand Down

0 comments on commit 6f04a68

Please sign in to comment.