#7404
This commit is contained in:
DHR60 2025-06-08 00:45:52 +08:00
parent 87f7e65076
commit 9063f0b4f2
2 changed files with 2 additions and 1 deletions

View file

@ -1151,7 +1151,7 @@ public class CoreConfigSingboxService
}
if (!hasDomainIp
&& (rule.port != null || rule.port_range != null || rule.protocol != null || rule.inbound != null))
&& (rule.port != null || rule.port_range != null || rule.protocol != null || rule.inbound != null || rule.network != null))
{
rules.Add(rule);
}

View file

@ -614,6 +614,7 @@ public class CoreConfigV2rayService
if (rule.port.IsNotEmpty()
|| rule.protocol?.Count > 0
|| rule.inboundTag?.Count > 0
|| rule.network != null
)
{
var it = JsonUtils.DeepCopy(rule);