Removes unnecessary sniffer

This commit is contained in:
DHR60 2025-04-06 23:01:16 +08:00
parent 45175719ca
commit c8a1a002c5

View file

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