Removes unnecessary sniffer

This commit is contained in:
DHR60 2025-04-06 23:01:16 +08:00
parent e926b659d1
commit 87ecbe20f2

View file

@ -983,8 +983,7 @@ public class CoreConfigSingboxService
{ {
singboxConfig.route.rules.Add(new() singboxConfig.route.rules.Add(new()
{ {
action = "sniff", action = "sniff"
sniffer = new() { "dns", _config.Inbound.First().DestOverride }
}); });
singboxConfig.route.rules.Add(new() singboxConfig.route.rules.Add(new()
{ {