From 8bb42936eaaec0ac564b9abdf84233d33645dd10 Mon Sep 17 00:00:00 2001 From: Fu Jianrong <53910283+FUjr@users.noreply.github.com> Date: Tue, 1 Apr 2025 14:16:32 +0800 Subject: [PATCH] Fix fm350 ipv6 (#30) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update modem_dial.sh fix ipv6 reboot interface name * 更新 modem_dial.sh --------- Co-authored-by: aliass532 <56620619+aliass532@users.noreply.github.com> --- luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh index 8dc789f..76f96b9 100755 --- a/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh +++ b/luci/luci-app-qmodem/root/usr/share/qmodem/modem_dial.sh @@ -288,7 +288,7 @@ check_ip() if [ "$pdp_type" = "ipv4v6" ];then if ! ping -c 2 -w 5 2400:3200::1 > /dev/null 2>&1; then m_debug "ipv6 is down,try to restart" - ifdown "$interface"V6 && sleep 2 && ifup "$interface"V6 + ifdown "$interface6_name" && sleep 2 && ifup "$interface6_name" fi fi fi