From 783453aabff1520704badc88d0754785b48825ca Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 24 Oct 2026 13:55:05 +0800 Subject: [PATCH] =?UTF-8?q?~=E9=80=82=E9=85=8Dsingbox=201.15=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=86=85=E6=A0=B8=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/starts/singbox_modify.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/starts/singbox_modify.sh b/scripts/starts/singbox_modify.sh index 087b87bd..40d6c3fe 100644 --- a/scripts/starts/singbox_modify.sh +++ b/scripts/starts/singbox_modify.sh @@ -338,7 +338,8 @@ EOF . "$CRASHDIR"/libs/sb_inbounds.sh } if [ "$redir_mod" = "Mix" ] || [ "$redir_mod" = "Tun" ]; then - [ "$ipv6_redir" = 'ON' ] && ipv6_address='"fd00:face:b00c::1/126",' + [ "$ipv6_redir" = 'ON' ] && [ -n "$(ip -6 rule show)" ] && ipv6_address='"fd00:face:b00c::1/126",' + [ "$(printf '%s' "$core_v" | cut -d. -f2)" -le 14 ] && stack='"stack": "system",' cat >>"$TMPDIR"/jsons/tun.json <