1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Merge pull request #342 from Ysurac/develop

sync
This commit is contained in:
suyuan 2023-08-10 10:51:13 +08:00 committed by GitHub
commit 85822a58cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 782 additions and 67 deletions

View file

@ -457,7 +457,7 @@ function wizard_add()
end
ucic:set("openmptcprouter",intf,"testspeed",testspeed)
if testspeed == "1" then
ucic:set("openmptcprouter",intf,"testspeed_lc")
ucic:delete("openmptcprouter",intf,"testspeed_lc")
end
if downloadspeed ~= "0" and downloadspeed ~= "" then
if sqmautorate == "1" and (ucic:get("network",intf,"downloadspeed") ~= downloadspeed or ucic:get("sqm",intf,"max_download") == "" or ucic:get("sqm",intf,"download") == "0") then