From 7e7db6aed9583fb6adc0f534fd45d643179a5736 Mon Sep 17 00:00:00 2001 From: Nova Date: Wed, 3 Dec 2025 00:40:03 +0330 Subject: [PATCH] Fix direct tun addresses --- src/dataStore/RouteEntity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dataStore/RouteEntity.cpp b/src/dataStore/RouteEntity.cpp index f9c05ad..0b8fc9d 100644 --- a/src/dataStore/RouteEntity.cpp +++ b/src/dataStore/RouteEntity.cpp @@ -653,7 +653,7 @@ namespace Configs { { auto res = QStringList(); for (const auto& item: Rules) { - if (item->outboundID == -2) { + if (item->outboundID == directID && item->action == "route") { for (const auto& rset: item->rule_set) { if (rset.startsWith("geoip-")) res << QString("ruleset:" + rset); }