From 0f2a0b437ca76d161183b64532af7459a533f26c Mon Sep 17 00:00:00 2001 From: juewuy Date: Sat, 18 Jul 2026 20:08:06 +0800 Subject: [PATCH] =?UTF-8?q?~=E4=BF=AE=E5=A4=8D=E8=AF=AD=E6=B3=95=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/starts/fw_getlanip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/starts/fw_getlanip.sh b/scripts/starts/fw_getlanip.sh index c1bf3e89..2d9e3a39 100644 --- a/scripts/starts/fw_getlanip.sh +++ b/scripts/starts/fw_getlanip.sh @@ -30,7 +30,7 @@ getlanip() { #获取局域网host地址 [ -n "$wg_ipv6" ] && wg_host_ipv6=' $wg_ipv6' } #添加自定义ipv4局域网网段 - if [ "$replace_default_host_ipv4" == "ON" ]; then + if [ "$replace_default_host_ipv4" = "ON" ]; then host_ipv4="$cust_host_ipv4" else host_ipv4=$(echo "$host_ipv4 $cust_host_ipv4$ts_host_ipv4$wg_host_ipv4" | tr '\n' ' ' | sed 's/ $//')