Removes unnecessary sniffer

This commit is contained in:
DHR60 2025-04-06 23:01:16 +08:00
parent 355e435ec4
commit 8e59539b78

View file

@ -1134,8 +1134,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()
{ {