From b4eb2b31920921bd1e66a2e48ca63e1d8328e747 Mon Sep 17 00:00:00 2001 From: midoks Date: Mon, 24 Oct 2022 21:20:04 +0800 Subject: [PATCH] Update mw.tpl --- scripts/init.d/mw.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/init.d/mw.tpl b/scripts/init.d/mw.tpl index 1831d7b4e..c7987a211 100755 --- a/scripts/init.d/mw.tpl +++ b/scripts/init.d/mw.tpl @@ -245,6 +245,8 @@ case "$1" in elif [ "$v6" != "" ]; then echo 'True' > $mw_path/data/ipv6.pl address="MW-Panel-Url: http://[$v6]:$port$auth_path" + + # 需要重启,ipv4才能生效 restart else address="MW-Panel-Url: http://you-network-ip:$port$auth_path"