~singbox内核改为默认启用sniff

This commit is contained in:
juewuy
2026-01-31 17:34:50 +08:00
parent 70bd8ed591
commit da23b70ca4
2 changed files with 5 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ EOF
EOF
#生成add_route.json
#域名嗅探配置
[ "$sniffer" = ON ] && sniffer_set='{ "action": "sniff", "timeout": "500ms" },'
[ "$sniffer" != OFF ] && sniffer_set='{ "action": "sniff", "timeout": "500ms" },'
[ "$ts_service" = ON ] && tailscale_set='{ "inbound": [ "ts-ep" ], "port": 53, "action": "hijack-dns" },'
cat >"$TMPDIR"/jsons/add_route.json <<EOF
{