mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
update Xunlei Fast dick bandwith display as zero in some region
This commit is contained in:
parent
9b5efe21f9
commit
a3bc5bbcfa
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-xlnetacc
|
||||
PKG_VERSION:=1.0.3
|
||||
PKG_RELEASE:=8
|
||||
PKG_RELEASE:=9
|
||||
|
||||
PKG_LICENSE:=GPLv2
|
||||
PKG_MAINTAINER:=Sense <sensec@gmail.com>
|
||||
|
@ -413,7 +413,7 @@ isp_upgrade() {
|
||||
local bandwidth
|
||||
json_select "bandwidth" >/dev/null 2>&1
|
||||
json_get_var bandwidth "downstream"
|
||||
bandwidth=$(expr ${bandwidth:-0} / 1024)
|
||||
[ ${bandwidth:=0} -ge 1024 ] && bandwidth=$(( $bandwidth / 1024 ))
|
||||
local outmsg="${link_cn}提速成功,带宽已提升到 ${bandwidth}M"; _log "$outmsg" $(( 1 | $1 * 8 ))
|
||||
[ $1 -eq 1 ] && down_acc=2 || up_acc=2
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user