diff --git a/srsenb/enb.conf.example b/srsenb/enb.conf.example index 2b1f42602..6289a6c99 100644 --- a/srsenb/enb.conf.example +++ b/srsenb/enb.conf.example @@ -101,8 +101,8 @@ rx_gain = 40 # ##################################################################### [pcap] -mac_enable = false -mac_filename = /tmp/enb_mac.pcap +enable = false +filename = /tmp/enb.pcap s1ap_enable = false s1ap_filename = /tmp/enb_s1ap.pcap diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc index 2bed9a231..ab1510b38 100644 --- a/srsenb/src/main.cc +++ b/srsenb/src/main.cc @@ -117,8 +117,8 @@ void parse_args(all_args_t* args, int argc, char* argv[]) ("log.file_max_size", bpo::value(&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.mac_enable", bpo::value(&args->stack.mac_pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark") - ("pcap.mac_filename", bpo::value(&args->stack.mac_pcap.filename)->default_value("enb_mac.pcap"), "MAC layer capture filename") + ("pcap.enable", bpo::value(&args->stack.mac_pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark") + ("pcap.filename", bpo::value(&args->stack.mac_pcap.filename)->default_value("enb_mac.pcap"), "MAC layer capture filename") ("pcap.s1ap_enable", bpo::value(&args->stack.s1ap_pcap.enable)->default_value(false), "Enable S1AP packet captures for wireshark") ("pcap.s1ap_filename", bpo::value(&args->stack.s1ap_pcap.filename)->default_value("enb_s1ap.pcap"), "S1AP layer capture filename")