SRSUE: clear EARFCN list if the list is not empty

master
Xavier Arteaga 5 years ago committed by Andre Puschmann
parent 11eafa8ab4
commit 0134d47ee8

@ -182,6 +182,7 @@ int ue::parse_args(const all_args_t& args_)
// populate EARFCN list // populate EARFCN list
if (!args.phy.dl_earfcn.empty()) { if (!args.phy.dl_earfcn.empty()) {
args.phy.earfcn_list.clear();
std::stringstream ss(args.phy.dl_earfcn); std::stringstream ss(args.phy.dl_earfcn);
uint32_t idx = 0; uint32_t idx = 0;
while (ss.good()) { while (ss.good()) {

Loading…
Cancel
Save