Removes unnecessary sniffer

This commit is contained in:
DHR60 2025-04-06 23:01:16 +08:00
parent b3acb89c29
commit ea55dfb6c5

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()
{ {