Commit 8804503e authored by Raphael Defosseux's avatar Raphael Defosseux

style(amf-app): 2 unformatted files

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@openairinterface.org>
parent 64684f25
......@@ -3118,7 +3118,8 @@ void amf_n1::ue_initiate_de_registration_handle(
// Logger::amf_n1().debug(
// "Signal the UE Loss of Connectivity Event notification for SUPI %s",
// supi.c_str());
// event_sub.ue_loss_of_connectivity(supi, PURGED, 1, ran_ue_ngap_id, amf_ue_ngap_id);
// event_sub.ue_loss_of_connectivity(supi, PURGED, 1, ran_ue_ngap_id,
// amf_ue_ngap_id);
if (nc->is_stacs_available) {
stacs.update_5gmm_state(nc->imsi, "5GMM-DEREGISTERED");
......
......@@ -560,7 +560,7 @@ void amf_sbi::handle_itti_message(itti_sbi_notify_subscribed_event& itti_msg) {
i.get_reports(event_reports);
for (auto r : event_reports) {
report["type"] = r.getType().get_value();
report["state"]["active"] = true; // as boolean
report["state"]["active"] = true; // as boolean
if (r.supiIsSet()) {
report["supi"] = r.getSupi();
}
......@@ -592,8 +592,9 @@ void amf_sbi::handle_itti_message(itti_sbi_notify_subscribed_event& itti_msg) {
// Timestamp
std::time_t time_epoch_ntp = std::time(nullptr);
uint64_t tv_ntp = time_epoch_ntp; // not needed: + SECONDS_SINCE_FIRST_EPOCH;
report["timeStamp"] = tv_ntp; // don't convert to string, leave as int64
uint64_t tv_ntp =
time_epoch_ntp; // not needed: + SECONDS_SINCE_FIRST_EPOCH;
report["timeStamp"] = tv_ntp; // don't convert to string, leave as int64
report_lists.push_back(report);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment