From 9484887f80f7daa92934fa611a6fe0c4fb9376f7 Mon Sep 17 00:00:00 2001 From: Merlin Chlosta Date: Mon, 5 Feb 2018 16:04:14 +0100 Subject: [PATCH] Write Identity Response to PCAP --- srsue/src/upper/nas.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srsue/src/upper/nas.cc b/srsue/src/upper/nas.cc index 67305aaa3..04b5f4869 100644 --- a/srsue/src/upper/nas.cc +++ b/srsue/src/upper/nas.cc @@ -665,6 +665,11 @@ void nas::parse_identity_request(uint32_t lcid, byte_buffer_t *pdu) { pdu->reset(); liblte_mme_pack_identity_response_msg(&id_resp, (LIBLTE_BYTE_MSG_STRUCT *) pdu); + + if(pcap != NULL) { + pcap->write_nas(pdu->msg, pdu->N_bytes); + } + rrc->write_sdu(lcid, pdu); }