mirror of https://github.com/PentHertz/srsLTE.git
enb: make the pcap default boost arguments consistent with enb.conf
This commit is contained in:
parent
d3a100257d
commit
fa09a9d11a
|
@ -106,8 +106,9 @@ rx_gain = 40
|
|||
# To use the dissector, edit the preferences for DLT_USER to
|
||||
# add an entry with DLT=150, Payload Protocol=s1ap.
|
||||
#
|
||||
# mac_enable: Enable MAC layer packet captures (true/false)
|
||||
# mac_filename: File path to use for packet captures
|
||||
# mac_enable: Enable MAC layer packet captures (true/false)
|
||||
# filename: File path to use for LTE MAC packet captures
|
||||
# nr_filename: File path to use for NR MAC packet captures
|
||||
# s1ap_enable: Enable or disable the PCAP.
|
||||
# s1ap_filename: File name where to save the PCAP.
|
||||
#
|
||||
|
@ -118,16 +119,17 @@ rx_gain = 40
|
|||
# client_port Client IP address for MAC network trace (default: 5847)
|
||||
#####################################################################
|
||||
[pcap]
|
||||
enable = false
|
||||
filename = /tmp/enb.pcap
|
||||
s1ap_enable = false
|
||||
s1ap_filename = /tmp/enb_s1ap.pcap
|
||||
#enable = false
|
||||
#filename = /tmp/enb_mac.pcap
|
||||
#nr_filename = /tmp/enb_mac_nr.pcap
|
||||
#s1ap_enable = false
|
||||
#s1ap_filename = /tmp/enb_s1ap.pcap
|
||||
|
||||
mac_net_enable = false
|
||||
bind_ip = 0.0.0.0
|
||||
bind_port = 5687
|
||||
client_ip = 127.0.0.1
|
||||
client_port = 5847
|
||||
#mac_net_enable = false
|
||||
#bind_ip = 0.0.0.0
|
||||
#bind_port = 5687
|
||||
#client_ip = 127.0.0.1
|
||||
#client_port = 5847
|
||||
|
||||
#####################################################################
|
||||
# Log configuration
|
||||
|
|
|
@ -133,10 +133,10 @@ void parse_args(all_args_t* args, int argc, char* argv[])
|
|||
|
||||
/* PCAP */
|
||||
("pcap.enable", bpo::value<bool>(&args->stack.mac_pcap.enable)->default_value(false), "Enable MAC packet captures for wireshark")
|
||||
("pcap.filename", bpo::value<string>(&args->stack.mac_pcap.filename)->default_value("enb_mac.pcap"), "MAC layer capture filename")
|
||||
("pcap.nr_filename", bpo::value<string>(&args->nr_stack.mac.pcap.filename)->default_value("enb_mac_nr.pcap"), "NR MAC layer capture filename")
|
||||
("pcap.filename", bpo::value<string>(&args->stack.mac_pcap.filename)->default_value("/tmp/enb_mac.pcap"), "MAC layer capture filename")
|
||||
("pcap.nr_filename", bpo::value<string>(&args->nr_stack.mac.pcap.filename)->default_value("/tmp/enb_mac_nr.pcap"), "NR 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_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("/tmp/enb_s1ap.pcap"), "S1AP layer capture filename")
|
||||
("pcap.mac_net_enable", bpo::value<bool>(&args->stack.mac_pcap_net.enable)->default_value(false), "Enable MAC network captures")
|
||||
("pcap.bind_ip", bpo::value<string>(&args->stack.mac_pcap_net.bind_ip)->default_value("0.0.0.0"), "Bind IP address for MAC network trace")
|
||||
("pcap.bind_port", bpo::value<uint16_t>(&args->stack.mac_pcap_net.bind_port)->default_value(5687), "Bind port for MAC network trace")
|
||||
|
|
Loading…
Reference in New Issue