From 880eb6fc14d38a9890f288a3dad6f3c1fa5b837c Mon Sep 17 00:00:00 2001 From: David Rupprecht Date: Fri, 16 Jul 2021 16:41:52 +0200 Subject: [PATCH] Added git args --- srsenb/hdr/stack/ngap/ngap.h | 1 + srsenb/src/stack/ngap/ngap.cc | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/srsenb/hdr/stack/ngap/ngap.h b/srsenb/hdr/stack/ngap/ngap.h index 8556be68f..8220285fb 100644 --- a/srsenb/hdr/stack/ngap/ngap.h +++ b/srsenb/hdr/stack/ngap/ngap.h @@ -68,6 +68,7 @@ public: bool handle_amf_rx_msg(srsran::unique_byte_buffer_t pdu, const sockaddr_in& from, const sctp_sndrcvinfo& sri, int flags); void get_metrics(ngap_metrics_t& m); + void get_args(ngap_args_t& args_); private: static const int AMF_PORT = 38412; diff --git a/srsenb/src/stack/ngap/ngap.cc b/srsenb/src/stack/ngap/ngap.cc index 7aa2390a8..1410e2cf0 100644 --- a/srsenb/src/stack/ngap/ngap.cc +++ b/srsenb/src/stack/ngap/ngap.cc @@ -156,6 +156,11 @@ void ngap::get_metrics(ngap_metrics_t& m) } } +void ngap::get_args(ngap_args_t& args_) +{ + args_ = args; +} + bool ngap::is_amf_connected() { return amf_connected;