mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-28 21:31:22 +08:00
fix route exclude formatting
This commit is contained in:
parent
e884bac69b
commit
7e068736e2
@ -623,8 +623,8 @@ namespace Configs {
|
|||||||
QJsonArray routeExcludeSets;
|
QJsonArray routeExcludeSets;
|
||||||
if (dataStore->enable_tun_routing)
|
if (dataStore->enable_tun_routing)
|
||||||
{
|
{
|
||||||
routeExcludeAddrs << directIPCIDRs;
|
for (auto item:directIPCIDRs) routeExcludeAddrs << item;
|
||||||
routeExcludeSets << directIPSets;
|
for (auto item: directIPSets) routeExcludeSets << item;
|
||||||
}
|
}
|
||||||
if (routeChain->defaultOutboundID == proxyID)
|
if (routeChain->defaultOutboundID == proxyID)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user