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

Remove number in settings when SQM/QoS disabled in wizard

This commit is contained in:
Ycarus 2018-09-24 12:55:34 +02:00
parent a4424f660e
commit cf1ff58a83

View file

@ -120,7 +120,11 @@ function wizard_add()
ucic:set("qos",intf,"upload",uploadspeed)
ucic:set("qos",intf,"enabled","1")
else
ucic:set("sqm",intf,"download","")
ucic:set("sqm",intf,"upload","")
ucic:set("sqm",intf,"enabled","0")
ucic:set("qos",intf,"download","")
ucic:set("qos",intf,"upload","")
ucic:set("qos",intf,"enabled","0")
end
end