mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 19:00:22 +08:00
fix: fixed complex config with string as port causing system proxy to fail
This commit is contained in:
parent
8c6735c3a3
commit
1c0ec09ae9
@ -1 +1 @@
|
||||
5770
|
||||
5771
|
||||
|
@ -172,9 +172,9 @@ namespace Qv2ray::core
|
||||
{
|
||||
const auto &inbound = inboundVal.toObject();
|
||||
inboundPorts[inbound["tag"].toString()] = {
|
||||
inbound["protocol"].toString(), //
|
||||
inbound["listen"].toString(), //
|
||||
inbound["port"].toInt() //
|
||||
inbound["protocol"].toString(), //
|
||||
inbound["listen"].toString(), //
|
||||
inbound["port"].toVariant().toInt() //
|
||||
};
|
||||
}
|
||||
return inboundPorts;
|
||||
|
Loading…
Reference in New Issue
Block a user