From 62bb16b249f393885c6982949c29d5b53914b0b3 Mon Sep 17 00:00:00 2001 From: juewuy Date: Thu, 11 Dec 2025 19:52:40 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BC=98=E5=8C=96=E7=AB=AF=E5=8F=A3=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA=E5=B9=B6=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E9=87=8D=E7=BD=AE=E9=BB=98=E8=AE=A4=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E6=97=B6=E9=94=99=E8=AF=AF=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/menu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/menu.sh b/scripts/menu.sh index 54ce7ba..c035bdb 100644 --- a/scripts/menu.sh +++ b/scripts/menu.sh @@ -987,7 +987,7 @@ setfirewall() { #防火墙设置 esac } checkport() { #自动检查端口冲突 - for portx in $dns_port $mix_port $redir_port $db_port; do + for portx in $dns_port $mix_port $redir_port $((redir_port + 1)) $db_port; do if [ -n "$(netstat -ntul 2>&1 | grep ':$portx ')" ]; then echo ----------------------------------------------- echo -e "检测到端口【$portx】被以下进程占用!内核可能无法正常启动!\033[33m"