From 6f2c64194148370e79aea41e9aaa2f8d269cee3f Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 19 Jul 2022 12:19:18 +0200 Subject: [PATCH] ue,sa: enable PCAP writing for NAS-5G --- srsue/src/stack/ue_stack_lte.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/srsue/src/stack/ue_stack_lte.cc b/srsue/src/stack/ue_stack_lte.cc index 15c66cf26..f7100e727 100644 --- a/srsue/src/stack/ue_stack_lte.cc +++ b/srsue/src/stack/ue_stack_lte.cc @@ -195,6 +195,7 @@ int ue_stack_lte::init(const stack_args_t& args_) if (args.pkt_trace.nas_pcap.enable) { if (nas_pcap.open(args.pkt_trace.nas_pcap.filename.c_str()) == SRSRAN_SUCCESS) { nas.start_pcap(&nas_pcap); + nas_5g.start_pcap(&nas_pcap); stack_logger.info("Open nas pcap file %s", args.pkt_trace.nas_pcap.filename.c_str()); } else { stack_logger.error("Can not open pcap file %s", args.pkt_trace.nas_pcap.filename.c_str());