fixing NAS PCAP ctor

master
Andre Puschmann 5 years ago
parent 845c0fc2c0
commit 41be303f27

@ -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);
}

Loading…
Cancel
Save