mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Remove number in settings when SQM/QoS disabled in wizard
This commit is contained in:
parent
a4424f660e
commit
cf1ff58a83
1 changed files with 4 additions and 0 deletions
|
@ -120,7 +120,11 @@ function wizard_add()
|
||||||
ucic:set("qos",intf,"upload",uploadspeed)
|
ucic:set("qos",intf,"upload",uploadspeed)
|
||||||
ucic:set("qos",intf,"enabled","1")
|
ucic:set("qos",intf,"enabled","1")
|
||||||
else
|
else
|
||||||
|
ucic:set("sqm",intf,"download","")
|
||||||
|
ucic:set("sqm",intf,"upload","")
|
||||||
ucic:set("sqm",intf,"enabled","0")
|
ucic:set("sqm",intf,"enabled","0")
|
||||||
|
ucic:set("qos",intf,"download","")
|
||||||
|
ucic:set("qos",intf,"upload","")
|
||||||
ucic:set("qos",intf,"enabled","0")
|
ucic:set("qos",intf,"enabled","0")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue