diff --git a/srsenb/hdr/enb.h b/srsenb/hdr/enb.h index 45592e401..7ef46f1a1 100644 --- a/srsenb/hdr/enb.h +++ b/srsenb/hdr/enb.h @@ -101,7 +101,6 @@ struct all_args_t { enb_args_t enb; enb_files_t enb_files; srslte::rf_args_t rf; - pcap_args_t pcap; log_args_t log; gui_args_t gui; general_args_t general; diff --git a/srsenb/src/main.cc b/srsenb/src/main.cc index fbf0e1077..e4b9b40e8 100644 --- a/srsenb/src/main.cc +++ b/srsenb/src/main.cc @@ -97,8 +97,8 @@ void parse_args(all_args_t *args, int argc, char* argv[]) { ("rf.time_adv_nsamples", bpo::value(&args->rf.time_adv_nsamples)->default_value("auto"), "Transmission time advance") ("rf.burst_preamble_us", bpo::value(&args->rf.burst_preamble)->default_value("auto"), "Transmission time advance") - ("pcap.enable", bpo::value(&args->pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark") - ("pcap.filename", bpo::value(&args->pcap.filename)->default_value("ue.pcap"), "MAC layer capture filename") + ("pcap.enable", bpo::value(&args->stack.pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark") + ("pcap.filename", bpo::value(&args->stack.pcap.filename)->default_value("ue.pcap"), "MAC layer capture filename") ("gui.enable", bpo::value(&args->gui.enable)->default_value(false), "Enable GUI plots")