Skip to content

Commit 7e06873

Browse files
committed
fix route exclude formatting
1 parent e884bac commit 7e06873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/configs/ConfigBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,8 @@ namespace Configs {
623623
QJsonArray routeExcludeSets;
624624
if (dataStore->enable_tun_routing)
625625
{
626-
routeExcludeAddrs << directIPCIDRs;
627-
routeExcludeSets << directIPSets;
626+
for (auto item:directIPCIDRs) routeExcludeAddrs << item;
627+
for (auto item: directIPSets) routeExcludeSets << item;
628628
}
629629
if (routeChain->defaultOutboundID == proxyID)
630630
{

0 commit comments

Comments
 (0)