mirror of https://github.com/pvnis/srsRAN_4G.git
[ENB] Fix enabling of MAC pcap file
when using [pcap] enable = true filename = /tmp/enb.pcap in enb.conf, there is no pcap file created. The problem is somewhere in the way how arguments are handled. pcap.enable is properly parsed into args.pcap. However, later on, lte_stack->init(args.stack, rrc_cfg, lte_phy.get()) only passes args.stack down the road, not args.pcap. enb_stack_lte::init() then basically uses args.stack.pcap and not args.pcap, and the latter appears always false. Let's remove pcap_args_t from all_args and only use the instance in stack_args_t. Closes: #359master
parent
86ec3101e0
commit
844994f2cd
Loading…
Reference in New Issue