Commit 51a29493 authored by aligungr's avatar aligungr

PS establishment over CLI

parent 99328e87
......@@ -271,7 +271,7 @@ static std::unique_ptr<UeCliCommand> UeCliParseImpl(const std::string &subCmd, c
if (options.positionalCount() > 15)
CMD_ERR("Only one PDU session type is expected")
std::string type = options.getPositional(0);
if (type != "IPv4" || type != "ipv4" || type != "IPV4" || type != "Ipv4" || type != "IpV4")
if (type != "IPv4" && type != "ipv4" && type != "IPV4" && type != "Ipv4" && type != "IpV4")
CMD_ERR("Only IPv4 is supported for now")
}
......
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