mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix wizard part to do a speedtest after validation
This commit is contained in:
parent
be04e6d733
commit
9714c5bfbc
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ function wizard_add()
|
||||||
end
|
end
|
||||||
ucic:set("openmptcprouter",intf,"testspeed",testspeed)
|
ucic:set("openmptcprouter",intf,"testspeed",testspeed)
|
||||||
if testspeed == "1" then
|
if testspeed == "1" then
|
||||||
ucic:set("openmptcprouter",intf,"testspeed_lc")
|
ucic:delete("openmptcprouter",intf,"testspeed_lc")
|
||||||
end
|
end
|
||||||
if downloadspeed ~= "0" and downloadspeed ~= "" then
|
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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue