diff --git a/lib/src/common/nas_pcap.cc b/lib/src/common/nas_pcap.cc index c9e46a7bc..39e246dde 100644 --- a/lib/src/common/nas_pcap.cc +++ b/lib/src/common/nas_pcap.cc @@ -30,15 +30,15 @@ void nas_pcap::enable() { enable_write = true; } -void nas_pcap::open(const char* filename, uint32_t ue_id) +void nas_pcap::open(const char* filename, uint32_t ue_id_) { pcap_file = LTE_PCAP_Open(NAS_LTE_DLT, filename); - ue_id = ue_id; + ue_id = ue_id_; enable_write = true; } void nas_pcap::close() { - fprintf(stdout, "Saving NAS PCAP file\n"); + fprintf(stdout, "Saving NAS PCAP file (DLT=%d)\n", NAS_LTE_DLT); LTE_PCAP_Close(pcap_file); }