Commit 306af566 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Merge branch 'sd_display_fix' into 'develop'

Do not display SD_NO_VALUE

See merge request oai/cn5g/oai-cn5g-amf!131
parents afc6ccdc 0f1db767
......@@ -717,7 +717,8 @@ void amf_config::display() {
str = str.append(" SST")
.append(
(plmn_list[i].slice_list[j].sst >
SST_MAX_STANDARDIZED_VALUE) ?
SST_MAX_STANDARDIZED_VALUE &&
(plmn_list[i].slice_list[j].sd != SD_NO_VALUE)) ?
", SD " :
" ....")
.append("...........: ")
......@@ -725,7 +726,8 @@ void amf_config::display() {
.append("")
.append(
(plmn_list[i].slice_list[j].sst >
SST_MAX_STANDARDIZED_VALUE) ?
SST_MAX_STANDARDIZED_VALUE &&
(plmn_list[i].slice_list[j].sd != SD_NO_VALUE)) ?
", " + std::to_string(plmn_list[i].slice_list[j].sd) :
" ");
Logger::config().info(str.c_str());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment