Commit 86379c99 authored by Tien Thinh NGUYEN's avatar Tien Thinh NGUYEN

Use ADDR_ANY as default value for IPv4/6 addr

parent 559db73e
......@@ -1020,7 +1020,7 @@ bool smf_sbi::get_sm_data(
} else {
Logger::smf_app().error(
"Bad UE IPv6 Addr %s", ue_ip_str.c_str());
throw("Bad UE IPv6 Addr %s", ue_ip_str.c_str());
ue_ipv6_addr = in6addr_any;
}
ip_address_t ue_ip = {};
......@@ -1047,7 +1047,7 @@ bool smf_sbi::get_sm_data(
} else {
Logger::smf_app().error(
"Bad UE IPv6 Addr %s", words.at(0).c_str());
throw("Bad UE IPv6 Addr %s", words.at(0).c_str());
ipv6_prefix = in6addr_any;
}
ip_address_t ue_ip = {};
......
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