Commit e78d8e49 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Fix == operator for snssai_upf_info_item_s

parent 463a8415
......@@ -431,7 +431,7 @@ typedef struct snssai_upf_info_item_s {
}
bool operator==(const snssai_upf_info_item_s& s) const {
return snssai == s.snssai;
return (snssai == s.snssai) and (dnn_upf_info_list == s.dnn_upf_info_list);
}
size_t operator()(const snssai_upf_info_item_s&) const {
......
......@@ -49,7 +49,7 @@ edge edge::from_upf_info(const upf_info_t& upf_info) {
snssai_upf_info_item_s snssai_item = {};
Logger::smf_app().debug(
"Edge from UPF info %s", upf_info.to_string().c_str());
"Edge from UPF info, UPF info %s", upf_info.to_string().c_str());
for (const auto& snssai : upf_info.snssai_upf_info_list) {
snssai_item.snssai = snssai.snssai;
......
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