Removes unnecessary sniffer

This commit is contained in:
DHR60 2025-04-06 23:01:16 +08:00
parent 9a694f54e6
commit 5d40134790

View file

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