Changed pcap.mac_enable back to pcap.enable in eNB.

master
Pedro Alvarez 5 years ago
parent 08a4ce0970
commit 8c58d1054a

@ -101,8 +101,8 @@ rx_gain = 40
# #
##################################################################### #####################################################################
[pcap] [pcap]
mac_enable = false enable = false
mac_filename = /tmp/enb_mac.pcap filename = /tmp/enb.pcap
s1ap_enable = false s1ap_enable = false
s1ap_filename = /tmp/enb_s1ap.pcap s1ap_filename = /tmp/enb_s1ap.pcap

@ -117,8 +117,8 @@ void parse_args(all_args_t* args, int argc, char* argv[])
("log.file_max_size", bpo::value<int>(&args->log.file_max_size)->default_value(-1), "Maximum file size (in kilobytes). When passed, multiple files are created. Default -1 (single file)") ("log.file_max_size", bpo::value<int>(&args->log.file_max_size)->default_value(-1), "Maximum file size (in kilobytes). When passed, multiple files are created. Default -1 (single file)")
/* PCAP */ /* PCAP */
("pcap.mac_enable", bpo::value<bool>(&args->stack.mac_pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark") ("pcap.enable", bpo::value<bool>(&args->stack.mac_pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark")
("pcap.mac_filename", bpo::value<string>(&args->stack.mac_pcap.filename)->default_value("enb_mac.pcap"), "MAC layer capture filename") ("pcap.filename", bpo::value<string>(&args->stack.mac_pcap.filename)->default_value("enb_mac.pcap"), "MAC layer capture filename")
("pcap.s1ap_enable", bpo::value<bool>(&args->stack.s1ap_pcap.enable)->default_value(false), "Enable S1AP packet captures for wireshark") ("pcap.s1ap_enable", bpo::value<bool>(&args->stack.s1ap_pcap.enable)->default_value(false), "Enable S1AP packet captures for wireshark")
("pcap.s1ap_filename", bpo::value<string>(&args->stack.s1ap_pcap.filename)->default_value("enb_s1ap.pcap"), "S1AP layer capture filename") ("pcap.s1ap_filename", bpo::value<string>(&args->stack.s1ap_pcap.filename)->default_value("enb_s1ap.pcap"), "S1AP layer capture filename")

Loading…
Cancel
Save